MCPcopy Create free account
hub / github.com/MEONMedical/Log4Qt / onTimeout

Method onTimeout

examples/basic/loggerobject.cpp:16–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void LoggerObject::onTimeout()
17{
18 logger()->debug() << "Debug output";
19 logger()->error() << "Error output";
20 logger()->debug(QStringLiteral("test"));
21
22 qCCritical(category1, "a debug message");
23
24 l4qError(QStringLiteral("an error"));
25 l4qDebug(QStringLiteral("debug info"));
26
27 l4qError() << "an error via stream";
28 l4qError(QStringLiteral("an error with param %1"), 10);
29 mCounter++;
30 if (mCounter >= 10)
31 emit exit(0);
32}
33
34#include "moc_loggerobject.cpp"

Callers

nothing calls this directly

Calls 2

debugMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected