Skip to content

init_logging


function backtide.utils.init_logging(log_level)

Initialize the global logging subscriber.

The logging level can only be set before it's used anywhere, so call this function at the start of the process. If logging was already initialized this results in a no-op.

Parameters

log_level : str | LogLevel

Minimum tracing log level. Choose from: "error", "warn", "info", debug".


See Also

clear_cache

Clears/invalidates all cache stored by the engine.