Oncaphillis::Ligh++pd

lighttpd::IO::elog_log_device Class Reference

#include <src/ligh++pd/io/log.h>

Inherits device< char >.


Detailed Description

A lighttpd specific subclass of niftyLb::IO::device which pumps chars into a log file associated with a lighttpd::Server.

This device is used bythe IO::log_ostream whenever the log sink is secified as ERROR_LOGFILE. The elog_log_device::write method does a classic write on the server::error_log_fd.

See also:
Server::log, IO::log_ostream

Public Types

typedef super::char_type char_type
 typedef the niftyLib::IO::device_streambuf expects to be present within a valid xCharT char sink.
typedef super::traits_type traits_type
 typedef the niftyLib::device_streambuf expects to be present for a valid xCharT sink.

Public Member Functions

 elog_log_device (::server *s)
virtual ~elog_log_device ()
std::streamsize write (const char_type *b, std::streamsize n)

Member Typedef Documentation

typedef the niftyLib::IO::device_streambuf expects to be present within a valid xCharT char sink.

Reimplemented from niftyLib::IO::device< char >.

typedef the niftyLib::device_streambuf expects to be present for a valid xCharT sink.

Reimplemented from niftyLib::IO::device< char >.


Constructor & Destructor Documentation

lighttpd::IO::elog_log_device::elog_log_device ( ::server s  )  [inline]

virtual lighttpd::IO::elog_log_device::~elog_log_device (  )  [inline, virtual]


Member Function Documentation

std::streamsize lighttpd::IO::elog_log_device::write ( const char_type b,
std::streamsize  n 
) [inline]

References server::errorlog_fd.


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

Generated by  doxygen
© 2008; Dr. Sebastian Kloska ( Oncaphillis )
Powered by: [?]