pyiron.base.settings.logger module

pyiron.base.settings.logger.set_logging_level(level, channel=None)[source]

Set level for logger

Parameters:
  • level (str) – ‘DEBUG, INFO, WARN’
  • channel (int) – 0: file_log, 1: stream, None: both
pyiron.base.settings.logger.setup_logger()[source]

Setup logger - logs are written to pyiron.log

Returns:Logger
Return type:logging.getLogger