Implements an ACE_Log_Msg_Backend that logs messages to a UNIX system's syslog facility.
More...
#include <Log_Msg_UNIX_Syslog.h>
Implements an ACE_Log_Msg_Backend that logs messages to a UNIX system's syslog facility.
◆ ACE_Log_Msg_UNIX_Syslog()
ACE_Log_Msg_UNIX_Syslog::ACE_Log_Msg_UNIX_Syslog |
( |
void |
| ) |
|
◆ ~ACE_Log_Msg_UNIX_Syslog()
ACE_Log_Msg_UNIX_Syslog::~ACE_Log_Msg_UNIX_Syslog |
( |
void |
| ) |
|
|
virtual |
◆ close()
int ACE_Log_Msg_UNIX_Syslog::close |
( |
void |
| ) |
|
|
virtual |
◆ convert_log_mask()
int ACE_Log_Msg_UNIX_Syslog::convert_log_mask |
( |
int |
lm_mask | ) |
|
|
private |
Convert an ACE_Log_Priority mask to the corresponding syslog mask value.
◆ convert_log_priority()
int ACE_Log_Msg_UNIX_Syslog::convert_log_priority |
( |
ACE_UINT32 |
lm_priority | ) |
|
|
private |
Convert an ACE_Log_Priority value to the corresponding syslog priority.
◆ log()
◆ open()
int ACE_Log_Msg_UNIX_Syslog::open |
( |
const ACE_TCHAR * |
logger_key | ) |
|
|
virtual |
Open a new event log.
Initialize the event logging facility.
- Parameters
-
logger_key | The name of the calling program. This name is used as the ident in the syslog entries. If it is 0 (no name), the application name as returned from ACE_Log_Msg::program_name() is used. |
Implements ACE_Log_Msg_Backend.
◆ reset()
int ACE_Log_Msg_UNIX_Syslog::reset |
( |
void |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: