simpm.log_cfg

Configure logging for SimPM.

The module exposes a shared logger and the LogConfig helper to tweak console/file logging for the simpm package.

Logging levels

  • logging.DEBUG = 10

  • logging.INFO = 20

  • logging.WARNING = 30

  • logging.ERROR = 40

  • logging.CRITICAL = 50

Functions

log_config()

Return the current LogConfig instance.

Classes

LogConfig([enabled, console_level, ...])

LogConfig is a class that allows developers to configure logging settings.