Go to the documentation of this file.
65 #ifndef ADDITIONALLOGGERBASE_H
66 #define ADDITIONALLOGGERBASE_H
JournalLogLevel m_debugLevel
virtual void onLogLevelChanged(JournalLogLevel newLevel, JournalLogLevel oldLevel)
Called when the log level changes This can be overridden in derived classes.
@ JLL_Alert
only log fatal, error and alert messages
AdditionalLoggerBase(JournalLogLevel initialLogLevel=JLL_Alert)
Constructs an AdditionalLoggerBase.
void setLogLevel(JournalLogLevel level) override
Set the current log level.
JournalLogLevel debugLevel() const override
void logNoDecoration(JournalLogLevel level, char const *file, int line, char const *function, std::string const &msg) override
Write line to the log without decoration (timestamp, thread)
void setDebugLevel(JournalLogLevel level) override
Set the current debug log level.
JournalLogLevel logLevel() const override
virtual void onDebugLevelChanged(JournalLogLevel newLevel, JournalLogLevel oldLevel)
Called when the debug log level changes This can be overridden in derived classes.