Go to the documentation of this file.
71 : m_level(initialLogLevel), m_debugLevel(initialLogLevel)
143 log(level, file, line,
function,
msg);
JournalLogLevel m_debugLevel
virtual void onLogLevelChanged(JournalLogLevel newLevel, JournalLogLevel oldLevel)
Called when the log level changes This can be overridden in derived classes.
AdditionalLoggerBase(JournalLogLevel initialLogLevel=JLL_Alert)
Constructs an AdditionalLoggerBase.
virtual void log(JournalLogLevel level, char const *file, int line, char const *function, std::string const &msg)=0
Write line to the log.
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.