March 2019
Intermediate to advanced
636 pages
27h 50m
English
The chaincode can also directly control the logging severity level of its SHIM by using the API function SetLoggingLevel as follows:
logLevel, _ := shim.LogLevel(os.Getenv("TW_SHIM_LOGGING_LEVEL"))shim.SetLoggingLevel(logLevel)
Read now
Unlock full access