blocxx
Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes

BLOCXX_NAMESPACE::SyslogAppender Class Reference

This class sends log messges to syslog. More...

#include <SyslogAppender.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::SyslogAppender:
BLOCXX_NAMESPACE::LogAppender BLOCXX_NAMESPACE::IntrusiveCountableBase

List of all members.

Public Member Functions

 SyslogAppender (const StringArray &components, const StringArray &categories, const String &pattern, const String &identity, const String &facility)
virtual ~SyslogAppender ()

Static Public Attributes

static const GlobalString STR_DEFAULT_MESSAGE_PATTERN = BLOCXX_GLOBAL_STRING_INIT("[%t]%m")

Protected Member Functions

virtual void doProcessLogMessage (const String &formattedMessage, const LogMessage &message) const

Static Protected Attributes

static bool calledOpenLog = false

Detailed Description

This class sends log messges to syslog.

Definition at line 51 of file SyslogAppender.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::SyslogAppender::SyslogAppender ( const StringArray components,
const StringArray categories,
const String pattern,
const String identity,
const String facility 
)
BLOCXX_NAMESPACE::SyslogAppender::~SyslogAppender ( ) [virtual]

Definition at line 183 of file SyslogAppender.cpp.


Member Function Documentation

void BLOCXX_NAMESPACE::SyslogAppender::doProcessLogMessage ( const String formattedMessage,
const LogMessage message 
) const [protected, virtual]

Member Data Documentation

bool BLOCXX_NAMESPACE::SyslogAppender::calledOpenLog = false [static, protected]

Definition at line 63 of file SyslogAppender.hpp.

Referenced by SyslogAppender().

const GlobalString BLOCXX_NAMESPACE::SyslogAppender::STR_DEFAULT_MESSAGE_PATTERN = BLOCXX_GLOBAL_STRING_INIT("[%t]%m") [static]

Definition at line 60 of file SyslogAppender.hpp.


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