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

Method LoggerObject

examples/basic/loggerobject.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6Q_LOGGING_CATEGORY(category1, "test.category1")
7
8LoggerObject::LoggerObject(QObject *parent) : QObject(parent),
9 mCounter(0)
10{
11 auto *timer = new QTimer(this);
12 connect(timer, &QTimer::timeout, this, &LoggerObject::onTimeout);
13 timer->start(10);
14}
15
16void LoggerObject::onTimeout()
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected