publishes events to a file More...
#include <SyslogPublisher.h>

Public Member Functions | |
| SyslogPublisher (const string &host, const string &port="514", const string &programName="QPI") | |
| ~SyslogPublisher () | |
| void | Publish (const AppException &except) |
| string | formatRF3164 (const string &theMessage, unsigned int severity) |
Public Member Functions inherited from FinTP::AbstractLogPublisher | |
| virtual | ~AbstractLogPublisher () |
| void | setDefault (const bool def) |
| void | setEventFilter (const int eventFilter) |
| int | eventFilter (void) |
Static Public Attributes | |
| static const string | CONFIG_NAME = "Log.PublisherToSyslog" |
| static const string | CONFIG_HOST = "Log.PublisherToSyslog.Host" |
| static const string | CONFIG_PORT = "Log.PublisherToSyslog.Port" |
Private Member Functions | |
| int | priority (unsigned int severity, unsigned int facility=1) |
Private Attributes | |
| boost::asio::io_service | m_Io_service |
| boost::asio::ip::udp::socket | m_Socket |
| string | m_ProgramName |
Additional Inherited Members | |
Static Public Member Functions inherited from FinTP::AbstractLogPublisher | |
| static string | FormatException (const AppException &exception) |
| static string | SerializeToXmlStr (const AppException &except) |
| static xercesc::DOMDocument * | SerializeToXml (const AppException &exception) |
| static AppException | DeserializeFromXml (const xercesc::DOMDocument *doc) |
Protected Member Functions inherited from FinTP::AbstractLogPublisher | |
| AbstractLogPublisher () | |
Protected Attributes inherited from FinTP::AbstractLogPublisher | |
| bool | m_Default |
| int | m_EventFilter |
publishes events to a file
|
explicit |
|
inline |
| string SyslogPublisher::formatRF3164 | ( | const string & | theMessage, |
| unsigned int | severity | ||
| ) |
|
inlineprivate |
|
virtual |
Implements FinTP::AbstractLogPublisher.
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |