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

Public Types

enum  LogLevel {
 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.

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: