ensure_logging_initialized

Function ensure_logging_initialized 

Source
pub fn ensure_logging_initialized() -> bool
Expand description

Ensures logging is initialized on first use.

If NAUTILUS_LOG is set, initializes the logger with the specified config. Otherwise, initializes with INFO level to stdout. This enables lazy initialization for Rust-only binaries that don’t go through the Python kernel initialization.

Returns true if logging is available (either already initialized or successfully lazy-initialized), false otherwise.