#include <mdc.h>
Static Public Member Functions | |
| static QString | get (const QString &rKey) |
| static QHash< QString, QString > | context () |
| static MDC * | instance () |
| static void | put (const QString &rKey, const QString &rValue) |
| static void | remove (const QString &rKey) |
Related Functions | |
| (Note that these are not member functions.) | |
| QDebug | operator<< (QDebug debug, const MDC &rMDC) |
| static QString Log4Qt::MDC::get | ( | const QString & | rKey | ) | [static] |
| static QHash<QString, QString> Log4Qt::MDC::context | ( | ) | [static] |
| void Log4Qt::MDC::put | ( | const QString & | rKey, | |
| const QString & | rValue | |||
| ) | [inline, static] |
| void Log4Qt::MDC::remove | ( | const QString & | rKey | ) | [inline, static] |
| QDebug operator<< | ( | QDebug | debug, | |
| const MDC & | rMDC | |||
| ) | [related] |
Writes all object member variables to the given debug stream rDebug and returns the stream.
MDC(thread:"main" context:QHash(("login", "Peter")("database", "UAT")) )
1.5.6