Skip to main content

init_with_config

Function init_with_config 

Source
pub fn init_with_config(config: TrustyLoggerConfig)
Expand description

Initialize the global logger with custom configuration.

If the logger is already initialized, this is a no-op (matching official trusty-log semantics via OnceLock::get_or_init).