caikit.core.toolkit.logging

Logging top-level configuration for caikit.core library.

Functions

configure()

Utility function to initialize logging stack components.

Module Contents

caikit.core.toolkit.logging.configure()[source]

Utility function to initialize logging stack components.

This uses the caikit configuration to determine how logging should be configured.

This should _only_ be called in the context of executing a __main__ application. Configuring the logger from a library context may override log config that has already been set by the consuming application.