Skip to content

Commit

Permalink
日志输出 - 完善
Browse files Browse the repository at this point in the history
  • Loading branch information
11090815 committed Nov 16, 2023
1 parent 402f7c9 commit ea3824c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chaincode/cc_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ func (s *DSCABS) Access(ctx contractapi.TransactionContextInterface, userID stri
return false, err
}

s.logger.Debugf("The interface [%s] of the smart contract [%s] redirects the access request of the user [%s] to the DSCABS, ready to check the user's access rights.", functionName, contractName, userID)

s.logger.Debugf("Search for the policy key of interface [%s] of smart contract [%s] and the attribute public key of user [%s].", functionName, contractName, userID)

s.logger.Debugf("The KM passes the policy key of interface [%s] of smart contract [%s] and the attribute public key of user [%s] to the DSCABS.", functionName, contractName, userID)
Expand Down

0 comments on commit ea3824c

Please sign in to comment.