#include <syslog.h>
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 |
| wibble::log::SyslogSender::SyslogSender | ( | const std::string & | ident, | |
| int | option = LOG_PID, |
|||
| int | facility = LOG_USER | |||
| ) |
| wibble::log::SyslogSender::~SyslogSender | ( | ) | [virtual] |
| 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.
void* wibble::log::SyslogSender::out [protected] |
std::string wibble::log::SyslogSender::name [protected] |
1.5.6