 |
log4cplus
2.0.5
|
Go to the documentation of this file.
36 #ifndef LOG4CPLUS_QT5DEBUGAPPENDER_H
37 #define LOG4CPLUS_QT5DEBUGAPPENDER_H
41 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
48 #if defined (log4cplusqt5debugappender_EXPORTS) \
49 || defined (log4cplusqt5debugappenderU_EXPORTS) \
50 || (defined (DLL_EXPORT) && defined (INSIDE_LOG4CPLUS_QT5DEBUGAPPENDER))
51 #undef LOG4CPLUS_QT5DEBUGAPPENDER_BUILD_DLL
52 #define LOG4CPLUS_QT5DEBUGAPPENDER_BUILD_DLL
54 #if defined (LOG4CPLUS_QT5DEBUGAPPENDER_BUILD_DLL)
55 #if defined (INSIDE_LOG4CPLUS_QT5DEBUGAPPENDER)
56 #define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT __declspec(dllexport)
58 #define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT __declspec(dllimport)
61 #define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT
64 #if defined (INSIDE_LOG4CPLUS_QT5DEBUGAPPENDER)
65 #define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT LOG4CPLUS_DECLSPEC_EXPORT
67 #define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT LOG4CPLUS_DECLSPEC_IMPORT
68 #endif // defined (INSIDE_LOG4CPLUS_QT5DEBUGAPPENDER)
103 #endif // LOG4CPLUS_QT5DEBUGAPPENDER_H
static void registerAppender()
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
helpers::SharedObjectPtr< Qt5DebugAppender > Qt5DebugAppenderPtr
The internal representation of logging events.
#define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT
virtual ~Qt5DebugAppender()
Qt5DebugAppender(helpers::Properties const &)
virtual void append(spi::InternalLoggingEvent const &)
Subclasses of Appender should implement this method to perform actual logging.
Extend this class for implementing your own strategies for printing log statements.