Skip to content

logging

Setup project wide loggers.

This is a thin wrapper around Python's logging module. It supports colored logging.

SingleLevelFilter

Bases: Filter

Filter levels.

configure_logging

configure_logging(stream: TextIO, level: int, use_color: bool) -> None

Configure application logging.

get_logger

get_logger(name: str) -> Logger

Get a logger with the given name.