10 #ifndef _LOG4CPP_APPENDERSKELETON_HH 11 #define _LOG4CPP_APPENDERSKELETON_HH 56 virtual void close() = 0;
114 #endif // _LOG4CPP_APPENDERSKELETON_HH virtual bool requiresLayout() const =0
Check if the appender uses a layout.
virtual void setFilter(Filter *filter)=0
Set a Filter for this appender.
The top level namespace for all 'Log for C++' types and classes.
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections...
Users should extend this class to implement customized logging event filtering.
virtual Filter * getFilter()=0
Get the Filter for this appender.
virtual Priority::Value getThreshold()=0
Get the threshold priority of this Appender.
virtual bool reopen()=0
Reopens the output destination of this Appender, e.g.
virtual void doAppend(const LoggingEvent &event)=0
Log in Appender specific way.
Priority::Value _threshold
Appender & operator=(const Appender &)
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
virtual void setThreshold(Priority::Value priority)=0
Set the threshold priority of this Appender.
Extend this abstract class to create your own log layout format.
int Value
The type of Priority Values.
virtual void setLayout(Layout *layout)=0
Set the Layout for this appender.
Implement this interface for your own strategies for printing log statements.