wibble::log::SyslogSender Struct Reference

#include <syslog.h>

Inheritance diagram for wibble::log::SyslogSender:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

Discard all messages.

Public Member Functions

 SyslogSender (const std::string &ident, int option=LOG_PID, int facility=LOG_USER)
virtual ~SyslogSender ()
virtual void send (Level level, const std::string &msg)
 Log one line of text with the given level.

Protected Attributes

void * out
std::string name

Constructor & Destructor Documentation

wibble::log::SyslogSender::SyslogSender ( const std::string &  ident,
int  option = LOG_PID,
int  facility = LOG_USER 
)

wibble::log::SyslogSender::~SyslogSender (  )  [virtual]


Member Function Documentation

void wibble::log::SyslogSender::send ( 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 wibble::log::CRIT, wibble::log::DEBUG, wibble::log::ERR, wibble::log::INFO, wibble::log::UNUSUAL, and wibble::log::WARN.


Member Data Documentation

void* wibble::log::SyslogSender::out [protected]

std::string wibble::log::SyslogSender::name [protected]


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

Generated on Tue Mar 11 11:31:10 2008 for wibble by  doxygen 1.5.5