pastas.utils.initialize_logger#

initialize_logger(logger=None, level=20)[source]#

Internal method to create a logger instance to log program output.

Parameters:
  • logger (logging.Logger) – A Logger-instance. Use ps.logger to initialise the Logging instance that handles all logging throughout pastas, including all submodules and packages.

  • level (Optional[Any]) –

Return type:

None