I want to debug my function in chaincode. I am unable to find the way the message in chaincode log message.
My code is as below:
var logger = shim.NewLogger(“chaincode”)
logger.Info(“Get all the IDs and bytes value”);
Is it the right way ? or share me the link where i can get the help to write log message properly.
If i want to print the float or string value how can i write log message for that.