1 #ifndef INCLUDE__LogDockAppender_hxx_
2 #define INCLUDE__LogDockAppender_hxx_
4 #include <log4cxx/appenderskeleton.h>
5 #include <log4cxx/spi/loggingevent.h>
6 #include <log4cxx/helpers/strftimedateformat.h>
10 using namespace log4cxx;
12 class LogDockAppender : public AppenderSkeleton {
16 void setTarget(LogDock* target);
17 void append(const spi::LoggingEventPtr& event, helpers::Pool& p);
19 bool requiresLayout() const;
21 DECLARE_LOG4CXX_OBJECT(LogDockAppender)
22 BEGIN_LOG4CXX_CAST_MAP()
23 LOG4CXX_CAST_ENTRY(LogDockAppender)
24 LOG4CXX_CAST_ENTRY_CHAIN(AppenderSkeleton)
25 END_LOG4CXX_CAST_MAP()
28 helpers::StrftimeDateFormat timeformat;
31 LOG4CXX_PTR_DEF(LogDockAppender);
33 #endif /* INCLUDE__LogDockAppender_hxx_ */