 |
log4cplus
2.0.6
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_SOCKET_APPENDER_HEADER_
25 #define LOG4CPLUS_SOCKET_APPENDER_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
107 #if ! defined (LOG4CPLUS_SINGLE_THREADED)
122 virtual void close();
126 void initConnector ();
136 #if ! defined (LOG4CPLUS_SINGLE_THREADED)
140 virtual void ctcSetConnected ();
164 #endif // LOG4CPLUS_SOCKET_APPENDER_HEADER_
This class implements client sockets (also called just "sockets").
LOG4CPLUS_EXPORT void convertToBuffer(SocketBuffer &buffer, const log4cplus::spi::InternalLoggingEvent &event, const log4cplus::tstring &serverName)
const std::size_t LOG4CPLUS_MAX_MESSAGE_SIZE
std::basic_string< tchar > tstring
Sends spi::InternalLoggingEvent objects to a remote a log server.
LOG4CPLUS_EXPORT log4cplus::spi::InternalLoggingEvent readFromBuffer(SocketBuffer &buffer)
LOG4CPLUS_EXPORT SOCKET_TYPE openSocket(unsigned short port, bool udp, bool ipv6, SocketState &state)
helpers::SharedObjectPtr< helpers::ConnectorThread > connector
The internal representation of logging events.
Interface implemented by users of ConnectorThread.
log4cplus::helpers::Socket socket
Extend this class for implementing your own strategies for printing log statements.
log4cplus::tstring serverName