Struct trust_dns::logger::TrustDnsLogger
[−]
[src]
pub struct TrustDnsLogger { /* fields omitted */ }
The logging manager for the system
Methods
impl TrustDnsLogger
[src]
fn new(level: LogLevel) -> TrustDnsLogger
Configure a logger with the given log level
fn init(self) -> Result<(), SetLoggerError>
Initializes the logger.
fn enable_logging(log_level: LogLevel)
Enables the logger with the given LogLevel