c4log_willLog

Function c4log_willLog 

Source
pub unsafe extern "C" fn c4log_willLog(
    arg1: C4LogDomain,
    arg2: C4LogLevel,
) -> bool
Expand description

Returns true if logging to this domain at this level will have an effect. This is called by the C4Log macros (below), to skip the possibly-expensive evaluation of parameters if nothing will be logged anyway. (This is not the same as comparing c4log_getLevel, because even if the domain’s level indicates it would log, logging could still be suppressed by the global callbackLevel or binaryFileLevel.)