Skip to main content

install

Function install 

Source
pub fn install(config: LoggerConfig) -> Result<(), InstallError>
Expand description

Installs the SDK logger as the global log implementation.

Called by the enable_logger! and enable_logger_with! macros; rarely invoked directly. Prefer the macros — they capture the caller’s CARGO_PKG_NAME for the default prefix and filename.

§Errors