wibble  0.1.28
Public Member Functions | Public Attributes
wibble::log::LevelFilter Struct Reference

Log only messages whose level is >= minLevel. More...

#include <filters.h>

Inheritance diagram for wibble::log::LevelFilter:
Inheritance graph
[legend]
Collaboration diagram for wibble::log::LevelFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LevelFilter (Sender *next=0, log::Level minLevel=log::INFO)
virtual ~LevelFilter ()
virtual void send (log::Level level, const std::string &msg)
 Log one line of text with the given level.

Public Attributes

Sendernext
log::Level minLevel

Detailed Description

Log only messages whose level is >= minLevel.


Constructor & Destructor Documentation


Member Function Documentation

void wibble::log::LevelFilter::send ( log::Level  level,
const std::string &  msg 
) [virtual]

Log one line of text with the given level.

Do not add a trailing newline

Implements wibble::log::Sender.

References minLevel, next, and wibble::log::Sender::send().


Member Data Documentation

Referenced by send().

Referenced by send().


The documentation for this struct was generated from the following files: