 |
log4cplus
2.0.5
|
Go to the documentation of this file.
25 #ifndef LOG4CPLUS_WIN32CONSOLEAPPENDER_H
26 #define LOG4CPLUS_WIN32CONSOLEAPPENDER_H
30 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
34 #if defined(_WIN32) && defined (LOG4CPLUS_HAVE_WIN32_CONSOLE)
68 bool logToStdErr =
false,
unsigned int textColor = 0);
93 #endif // LOG4CPLUS_WIN32CONSOLEAPPENDER_H
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
Win32ConsoleAppender(bool allocConsole=true, bool logToStdErr=false, unsigned int textColor=0)
virtual void append(spi::InternalLoggingEvent const &)
Subclasses of Appender should implement this method to perform actual logging.
The internal representation of logging events.
Prints events to Win32 console.
void write_console(void *, tchar const *, std::size_t)
Extend this class for implementing your own strategies for printing log statements.
Win32ConsoleAppender(helpers::Properties const &properties)
void write_handle(void *, tchar const *, std::size_t)
virtual ~Win32ConsoleAppender()