plumbing::logging_syslog Class Reference

#include <syslog.h>

Inheritance diagram for plumbing::logging_syslog:

Public Member Functions

virtual ~logging_syslog ()
 logging_syslog ()

Protected Member Functions

void deliver_message_text (const char *txt)

Private Member Functions

 logging_syslog (const logging_syslog &)
logging_syslogoperator= (const logging_syslog &)

Private Attributes

bool is_open

Detailed Description

The plumbing::logging_syslog class is used to represent a loging stream which is directed into the system log (syslog(8)) facility.

Definition at line 29 of file syslog.h.

Constructor & Destructor Documentation

plumbing::logging_syslog::~logging_syslog (  )  [virtual]

The destructor.

Definition at line 25 of file

plumbing::logging_syslog::logging_syslog (  ) 

The default constructor.

Definition at line 35 of file

plumbing::logging_syslog::logging_syslog ( const logging_syslog  )  [private]

The copy constructor. Do not use.

Member Function Documentation

void plumbing::logging_syslog::deliver_message_text ( const char *  txt  )  [protected, virtual]

The deliver_message_text method is used to actually deliver a log message to the logging medium. All formatting has been completed, the text requires no further substitutions.

Implements plumbing::logging.

Definition at line 80 of file

logging_syslog& plumbing::logging_syslog::operator= ( const logging_syslog  )  [private]

The assignment operator. Do not use.

Field Documentation

The is_open instance variable is used to remember whether or not the openlog() function has been called to start logging (and open the connection to syslogd).

Definition at line 53 of file syslog.h.

The documentation for this class was generated from the following files:
Generated on Thu Sep 16 14:51:27 2010 for Plumbing by  doxygen 1.6.3