 |
log4cplus
2.0.6
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_SYSLOG_APPENDER_HEADER_
25 #define LOG4CPLUS_SYSLOG_APPENDER_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
82 #if ! defined (LOG4CPLUS_SINGLE_THREADED)
95 #if defined (LOG4CPLUS_HAVE_SYSLOG_H)
100 RemoteSyslogType remoteSyslogType = RSTUdp,
bool ipv6 =
false);
107 virtual void close();
110 virtual int getSysLogLevel(
const LogLevel& ll)
const;
112 #if defined (LOG4CPLUS_HAVE_SYSLOG_H)
136 void initConnector ();
139 #if ! defined (LOG4CPLUS_SINGLE_THREADED)
143 virtual void ctcSetConnected ();
153 std::string identStr;
160 #endif // LOG4CPLUS_SYSLOG_APPENDER_HEADER_
This class implements client sockets (also called just "sockets").
std::basic_string< tchar > tstring
AppendFuncType appendFunc
RemoteSyslogType remoteSyslogType
static const tstring remoteTimeFormat
LOG4CPLUS_EXPORT SOCKET_TYPE openSocket(unsigned short port, bool udp, bool ipv6, SocketState &state)
Appends log events to a file.
helpers::Socket syslogSocket
helpers::SharedObjectPtr< helpers::ConnectorThread > connector
The internal representation of logging events.
Interface implemented by users of ConnectorThread.
Extend this class for implementing your own strategies for printing log statements.
RemoteSyslogType
Remote syslog IP protocol type.