Trait logger_rust::config::LogVariables
source · pub trait LogVariables {
// Required method
fn log_level(&self) -> &Mutex<LogLevel>;
}
Required Methods§
sourcefn log_level(&self) -> &Mutex<LogLevel>
fn log_level(&self) -> &Mutex<LogLevel>
Trait that defines a method for accessing the current log level.
This trait defines a log_level
method that returns a reference to a Mutex<LogLevel>
that contains the current log level. The log level determines where log messages are written:
to the console, to a file, or both.
fn log_level(&self)
- Returns a reference to a Mutex<LogLevel>
that contains the current log level.
Implementors§
impl LogVariables for LogVariablesImpl
Implementation of the LogVariables
trait for the LogVariablesImpl
struct.