Closed terrillmoore closed 5 years ago
gLog.printf(flags, "format", ...) always evaluates its arguments, even if the print is skipped.
gLog.printf(flags, "format", ...)
Add gLog.cond(flags, [&]{){ .... }), which calls the ... code only if enabled by the flag values and the log settings.
gLog.cond(flags, [&]{){ .... })
gLog.printf(flags, "format", ...)
always evaluates its arguments, even if the print is skipped.Add
gLog.cond(flags, [&]{){ .... })
, which calls the ... code only if enabled by the flag values and the log settings.