pub fn max_level(mut self, l: log::Level) -> Self {
        self.level = l;
        // It is important to set the Verbosity to None here because later with the `init` method,
        // a `None` value indicates the verbosity has _not_ been set or overriden by using this
        // method (`max_level`). If the verbosity is some value, then it will be used and the use
        // of this method will be dismissed.
        self.verbosity = None;
        self
    }
/// Explicitly sets the log level instead of through a verbosity.
///
/// # Example
///
/// ```rust
/// #[macro_use] extern crate log;
/// extern crate loggerv;
///
/// fn main() {
///     loggerv::Logger::new()
///         .max_level(log::Level::Info)
///         .init()
///         .unwrap();
///
///     error!("This is printed to stderr");
///     warn!("This is printed to stderr");
///     info!("This is printed to stdout");
///     debug!("This is not printed to stdout");
///     trace!("This is not printed to stdout");
/// }
/// ```
Explicitly sets the log level instead of through a verbosity.
Explicitly sets the log level instead of through a verbosity .
pub fn max_level(mut self, l: log::Level) -> Self {
        self.level = l;
        // It is important to set the Verbosity to None here because later with the `init` method,
        // a `None` value indicates the verbosity has _not_ been set or overriden by using this
        // method (`max_level`). If the verbosity is some value, then it will be used and the use
        // of this method will be dismissed.
        self.verbosity = None;
        self
    }
pub fn max_level ( mut self , l : log :: Level ) -> Self { self . level = l ; // It is important to set the Verbosity to None here because later with the `init` method, // a `None` value indicates the verbosity has _not_ been set or overriden by using this // method (`max_level`). If the verbosity is some value, then it will be used and the use // of this method will be dismissed. self . verbosity = None ; self }
Explicitly sets the log level instead of through a verbosity.
Explicitly sets the log level instead of through a verbosity .
mut self
l
log::Level
example
None
[macro_use] extern crate log;
extern crate loggerv.

fn main() {
loggerv::Logger::new()
.max_level(log::Level::Info)
.init()
.unwrap().

error!("This is printed to stderr");
warn!("This is printed to stderr");
info!("This is printed to stdout");
debug!("This is not printed to stdout");
trace!("This is not printed to stdout");
}
```
extern crate loggerv . fn main () { loggerv :: Logger :: new () . max_level ( log :: Level :: Info ) . init () . unwrap () . error! ( " This is printed to stderr " ) ; warn! ( " This is printed to stderr " ) ; info! ( " This is printed to stdout " ) ; debug! ( " This is not printed to stdout " ) ; trace! ( " This is not printed to stdout " ) ; } ` ` `