Skip to content

Logging

Source

Logging submodule.

The methods are responsible for the in-console logger.

get_logger(name, log_level=logging.INFO, log_path=None)

Create a python logger instance with configured handlers.

Parameters:

  • name (str) –

    Name of the logger.

  • log_level (int, default: INFO ) –

    Log level (info, error etc.), by default logging.INFO.

  • log_path (Optional[Union[str, Path]], default: None ) –

    Path in which to save the log, by default None.

Returns: