Skip to content

input4mips_validation.logging_config#

input4mips_validation.logging_config #

Logging configuration store

LOGGING_CONFIG: LoggingConfigLike = None module-attribute #

Logging configuration being used

We provide this as a global variable so it can perhaps be used to help with configuring logging during parallel processing. It's not clear if this is the right pattern, but we're keeping it for now.

ConfigLike #

Bases: TypedDict

Configuration-like to use with loguru

Source code in src/input4mips_validation/logging_config.py
class ConfigLike(TypedDict):
    """
    Configuration-like to use with loguru
    """

    handlers: list[HandlerConfig]