shaclapi.logger module#

shaclapi.logger.setup(handler=<StreamHandler <stderr> (NOTSET)>, level=20, log_format='[%(asctime)s - %(levelname)s] %(name)s - %(processName)s: %(msg)s')[source]#

Sets up the shaclAPI’s logger. Has to be used before importing shaclapi.api.

Parameters:
  • handler (logging.Handler, optional) – The handler to be used for logging of the shaclapi

  • level (logging._LEVEL, optional) – The logging level

  • log_format (str, optional) – The format to be used during logging.