All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AbortAppender.hh
Go to the documentation of this file.
1 /*
2  * AbortAppender.hh
3  *
4  * Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5  * Copyright 2002, Bastiaan Bakker. All rights reserved.
6  *
7  * See the COPYING file for the terms of usage and distribution.
8  */
9 
10 #ifndef _LOG4CPP_ABORTAPPENDER_HH
11 #define _LOG4CPP_ABORTAPPENDER_HH
12 
13 #include <log4cpp/Portability.hh>
15 
17 
25 public:
26 
27  AbortAppender(const std::string& name);
28  virtual ~AbortAppender();
29 
30  virtual bool reopen();
31  virtual void close();
32 
37  virtual bool requiresLayout() const;
38 
39  virtual void setLayout(Layout* layout);
40 
41 protected:
42  virtual void _append(const LoggingEvent& event);
43 };
44 
46 #endif // _LOG4CPP_ABORTAPPENDER_HH
LoggingEvent
The top level namespace for all 'Log for C++' types and classes.
Definition: LoggingEvent.hh:32
AppenderSkeleton::close
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections,...
Portability.hh
Layout
Extend this abstract class to create your own log layout format.
Definition: Layout.hh:22
AppenderSkeleton
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
Definition: AppenderSkeleton.hh:24
LOG4CPP_NS_BEGIN
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition: Portability.hh:50
AppenderSkeleton.hh
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition: Export.hh:21
AbortAppender
This Appender causes the application to abort() upon the first append() call.
Definition: AbortAppender.hh:24
AppenderSkeleton::reopen
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
AppenderSkeleton::requiresLayout
virtual bool requiresLayout() const =0
Check if the appender uses a layout.
AppenderSkeleton::setLayout
virtual void setLayout(Layout *layout)=0
Set the Layout for this appender.
AppenderSkeleton::_append
virtual void _append(const LoggingEvent &event)=0
Log in Appender specific way.


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11