cashocs.log.begin#

cashocs.log.begin(message: str, level: int = 20) None#

This signals the beginning of a (timed) block of logs.

This is closed with a suitable call to cashocs.log.end() with which each call to cashocs.log.begin() has to be accompanied by.

Parameters:
  • message (str) – The message indicating what block is started.

  • level (int, optional) – The log level used for issuing the messages. Defaults to logging.INFO.

Return type:

None