libadblockplus
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
AdblockPlus::DefaultLogSystem Class Reference

LogSystem implementation that writes messages to stderr. More...

#include <DefaultLogSystem.h>

Inheritance diagram for AdblockPlus::DefaultLogSystem:
Inheritance graph
[legend]
Collaboration diagram for AdblockPlus::DefaultLogSystem:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from AdblockPlus::LogSystem
enum  LogLevel {
  LOG_LEVEL_TRACE, LOG_LEVEL_LOG, LOG_LEVEL_INFO, LOG_LEVEL_WARN,
  LOG_LEVEL_ERROR
}
 Log level.
 

Detailed Description

LogSystem implementation that writes messages to stderr.

Member Function Documentation

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

Writes a log message.

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

Implements AdblockPlus::LogSystem.


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