Function vlog::set_verbosity_level [−][src]
pub fn set_verbosity_level(verbosity_level: usize)
Sets the application verbosity level atomically. This method is thread-safe.
Arguments
verbosity_level
- Verbosity level value. While there is no check on the upper bound, the expected max level value is 3.
Example
use vlog::set_verbosity_level; // min verbosity level set_verbosity_level(0); // max verbosity level set_verbosity_level(3);