hyperlane-plugin-logger 22.0.10

A logging plugin for the Hyperlane framework, writing the log of a server to the console, to a file, or to both.
Documentation
1
2
3
4
5
6
7
use super::*;

/// The configuration the plugin was given, when it was given one.
pub(super) static CONFIG: OnceLock<LoggerConfig> = OnceLock::new();

/// The file the log is appended to, when the configuration named one.
pub(super) static FILE: OnceLock<Mutex<Option<File>>> = OnceLock::new();