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

Example

use vlog::set_verbosity_level;

// min verbosity level
set_verbosity_level(0);

// max verbosity level
set_verbosity_level(3);