Function vlog::get_verbosity_level [−][src]
pub fn get_verbosity_level() -> usize
Gets the application verbosity level atomically. This method is thread-safe.
Example
use vlog::{get_verbosity_level, set_verbosity_level}; // default verbosity level assert_eq!(0, get_verbosity_level()); // custom verbosity level set_verbosity_level(1); assert_eq!(1, get_verbosity_level());