18 #ifndef ADBLOCK_PLUS_LOG_SYSTEM_H
19 #define ADBLOCK_PLUS_LOG_SYSTEM_H
35 enum LogLevel {LOG_LEVEL_TRACE, LOG_LEVEL_LOG, LOG_LEVEL_INFO, LOG_LEVEL_WARN, LOG_LEVEL_ERROR};
47 const std::string& source) = 0;
virtual void operator()(LogLevel logLevel, const std::string &message, const std::string &source)=0
Writes a log message.
Main namespace of libadblockplus.
Definition: ActiveObject.h:23
std::unique_ptr< LogSystem > LogSystemPtr
Smart pointer to a LogSystem instance.
Definition: LogSystem.h:53
Logging interface.
Definition: LogSystem.h:29
LogLevel
Log level.
Definition: LogSystem.h:35