Log API is used to log and display all the info, error, warning and debug messages. To use log API you need to import
BBSDK module. The method
block_log_handler returns an instance of
BlockLogHandler class which contains all methods to display different logs.
self.logger.info(msg)__ - This method is used to log and display messages as information.
self.logger.error(msg)- This method is used to log messages as error.
self.logger.warn(msg) - This method is used to log messages as warning.
selflogger.debug(msg)__ - This method is used to log debug related messages.