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
Extend this class for implementing your own strategies for printing log statements.
virtual ~Qt5DebugAppender()
Qt5DebugAppender(helpers::Properties const &)
virtual void append(spi::InternalLoggingEvent const &)
Subclasses of Appender should implement this method to perform actual logging.
static void registerAppender()
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
The internal representation of logging events.
helpers::SharedObjectPtr< Qt5DebugAppender > Qt5DebugAppenderPtr
#define LOG4CPLUS_QT5DEBUGAPPENDER_EXPORT