Skip to main content

install

Function install 

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

Makes the collector the process logger at Warn level. Idempotent; a no-op on wasm.

ยงErrors

InstallError::AlreadySet when another logger was installed first.