Expand description
Code for turning safelogging on and off.
By default, safelogging is on. There are two ways to turn it off: Globally
(with disable_safe_logging
) and locally (with
with_safe_logging_suppressed
).
Structs§
- A guard object used to enforce safe logging, or turn it off.
Enums§
- Enum to describe what kind of a
Guard
we’ve created.
Statics§
- A global atomic used to track locking guards for enabling and disabling safe-logging.
- A dynamic variable used to temporarily disable safe-logging.