36 #ifndef LOG4CPLUS_QT4DEBUGAPPENDER_H
37 #define LOG4CPLUS_QT4DEBUGAPPENDER_H
41 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
48 #if defined (log4cplusqt4debugappender_EXPORTS) \
49 || defined (log4cplusqt4debugappenderU_EXPORTS) \
50 || (defined (DLL_EXPORT) && defined (INSIDE_LOG4CPLUS_QT4DEBUGAPPENDER))
51 #undef LOG4CPLUS_QT4DEBUGAPPENDER_BUILD_DLL
52 #define LOG4CPLUS_QT4DEBUGAPPENDER_BUILD_DLL
54 #if defined (LOG4CPLUS_QT4DEBUGAPPENDER_BUILD_DLL)
55 #if defined (INSIDE_LOG4CPLUS_QT4DEBUGAPPENDER)
56 #define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT __declspec(dllexport)
58 #define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT __declspec(dllimport)
61 #define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT
64 #if defined (INSIDE_LOG4CPLUS_QT4DEBUGAPPENDER)
65 #define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT LOG4CPLUS_DECLSPEC_EXPORT
67 #define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT LOG4CPLUS_DECLSPEC_IMPORT
Extend this class for implementing your own strategies for printing log statements.
Qt4DebugAppender(helpers::Properties const &)
static void registerAppender()
virtual ~Qt4DebugAppender()
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
virtual void append(spi::InternalLoggingEvent const &)
Subclasses of Appender should implement this method to perform actual logging.
The internal representation of logging events.
helpers::SharedObjectPtr< Qt4DebugAppender > Qt4DebugAppenderPtr
#define LOG4CPLUS_QT4DEBUGAPPENDER_EXPORT