QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
anonymous_namespace{qetlogger.cpp} Namespace Reference

Classes

struct  ReentrancyGuard
 ReentrancyGuard Sets the referenced flag on construction, clears it on destruction (including via early return / exception unwinding). Used as the per-thread guard against the logger recursing into itself. More...

Functions

void legacyStderrOutput (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 legacyStderrOutput The QET_LOG_DISABLE=1 escape hatch. Deliberately independent of every other function in this file – including sanitize()/ formatLine(), which are exactly the new code a problem might be in – so this path stays usable even if the rest of the rework misbehaves. No ring, no file, no rotation, no mutex.

Function Documentation

◆ legacyStderrOutput()

void anonymous_namespace{qetlogger.cpp}::legacyStderrOutput ( QtMsgType type,
const QMessageLogContext & context,
const QString & msg )

legacyStderrOutput The QET_LOG_DISABLE=1 escape hatch. Deliberately independent of every other function in this file – including sanitize()/ formatLine(), which are exactly the new code a problem might be in – so this path stays usable even if the rest of the rework misbehaves. No ring, no file, no rotation, no mutex.