libadblockplus
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
AdblockPlus::LogSystem Class Referenceabstract

Logging interface. More...

#include <LogSystem.h>

Inheritance diagram for AdblockPlus::LogSystem:
Inheritance graph
[legend]

Public Types

enum  LogLevel {
  LOG_LEVEL_TRACE, LOG_LEVEL_LOG, LOG_LEVEL_INFO, LOG_LEVEL_WARN,
  LOG_LEVEL_ERROR
}
 Log level.
 

Public Member Functions

virtual void operator() (LogLevel logLevel, const std::string &message, const std::string &source)=0
 Writes a log message. More...
 

Detailed Description

Logging interface.

Member Function Documentation

virtual void AdblockPlus::LogSystem::operator() ( LogLevel  logLevel,
const std::string &  message,
const std::string &  source 
)
pure virtual

Writes a log message.

Parameters
logLevelLog level.
messageLog message.
sourceSource of the message, e.g. file name and line. Ignored when empty.

Implemented in AdblockPlus::DefaultLogSystem.


The documentation for this class was generated from the following file: