Static safelog::flags::LOGGING_STATE

source ·
static LOGGING_STATE: AtomicIsize
Expand description

A global atomic used to track locking guards for enabling and disabling safe-logging.

The value of this atomic is less than 0 if we have enabled unsafe logging. greater than 0 if we have enabled safe logging, and 0 if nobody cares.