c4log_setLevel

Function c4log_setLevel 

Source
pub unsafe extern "C" fn c4log_setLevel(
    c4Domain: C4LogDomain,
    level: C4LogLevel,
)
Expand description

Changes the level of the given log domain. This setting is global to the entire process. Logging is further limited by the levels assigned to the current callback and/or binary file. For example, if you set the Foo domain’s level to Verbose, and the current log callback is at level Warning while the binary file is at Verbose, then verbose Foo log messages will be written to the file but not to the callback.