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