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

Function shutDownRootLogger

examples/basic/main.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void shutDownRootLogger(const QString &extroMessage)
115{
116 auto logger = Log4Qt::Logger::rootLogger();
117
118 if (!extroMessage.isEmpty())
119 logger->info(extroMessage);
120 logger->removeAllAppenders();
121 logger->loggerRepository()->shutdown();
122}

Callers 1

shutdownRootLoggerFunction · 0.70

Calls 5

isEmptyMethod · 0.80
removeAllAppendersMethod · 0.80
infoMethod · 0.45
shutdownMethod · 0.45
loggerRepositoryMethod · 0.45

Tested by

no test coverage detected