AbortAppender.hh
Go to the documentation of this file.
00001 /*
00002  * AbortAppender.hh
00003  *
00004  * Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
00005  * Copyright 2002, Bastiaan Bakker. All rights reserved.
00006  *
00007  * See the COPYING file for the terms of usage and distribution.
00008  */
00009 
00010 #ifndef _LOG4CPP_ABORTAPPENDER_HH
00011 #define _LOG4CPP_ABORTAPPENDER_HH
00012 
00013 #include <log4cpp/Portability.hh>
00014 #include <log4cpp/AppenderSkeleton.hh>
00015 
00016 namespace log4cpp {
00017 
00024     class LOG4CPP_EXPORT AbortAppender : public AppenderSkeleton {
00025         public:
00026 
00027         AbortAppender(const std::string& name);
00028         virtual ~AbortAppender();
00029         
00030         virtual bool reopen();
00031         virtual void close();
00032 
00037         virtual bool requiresLayout() const;
00038 
00039         virtual void setLayout(Layout* layout);
00040 
00041         protected:        
00042         virtual void _append(const LoggingEvent& event);
00043     };
00044 }
00045 
00046 #endif // _LOG4CPP_ABORTAPPENDER_HH


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sat Jun 8 2019 18:45:46