 |
log4cplus
2.0.5
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_LOG4J_UDP_APPENDER_HEADER_
25 #define LOG4CPLUS_LOG4J_UDP_APPENDER_HEADER_
91 #endif // LOG4CPLUS_LOG4J_UDP_APPENDER_HEADER_
This class implements client sockets (also called just "sockets").
std::basic_string< tchar > tstring
Log4jUdpAppender(const log4cplus::helpers::Properties &properties)
Sends log events as Log4j XML to a remote a log server.
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
Log4jUdpAppender(const log4cplus::tstring &host, int port, bool ipv6=false)
The internal representation of logging events.
log4cplus::helpers::Socket socket
Extend this class for implementing your own strategies for printing log statements.
virtual void append(const spi::InternalLoggingEvent &event)
Subclasses of Appender should implement this method to perform actual logging.