Skip to main content

enable_logger_with

Macro enable_logger_with 

Source
macro_rules! enable_logger_with {
    ($cfg:expr) => { ... };
}
Expand description

Installs the SDK logger with an explicit LoggerConfig.

The macro still seeds the banner metadata from the caller’s CARGO_PKG_* values before delegating to logger::install, so the startup banner reports the user’s plugin even when every other field is overridden.