$search
#include <LayoutAppender.hh>
Public Types | |
typedef BasicLayout | DefaultLayoutType |
Public Member Functions | |
LayoutAppender (const std::string &name) | |
virtual bool | requiresLayout () const |
virtual void | setLayout (Layout *layout=NULL) |
virtual | ~LayoutAppender () |
Protected Member Functions | |
Layout & | _getLayout () |
Private Attributes | |
Layout * | _layout |
LayoutAppender is a common superclass for all Appenders that require a Layout.
Definition at line 24 of file LayoutAppender.hh.
Definition at line 27 of file LayoutAppender.hh.
log4cpp::LayoutAppender::LayoutAppender | ( | const std::string & | name | ) |
Definition at line 15 of file LayoutAppender.cpp.
log4cpp::LayoutAppender::~LayoutAppender | ( | ) | [virtual] |
Definition at line 20 of file LayoutAppender.cpp.
Layout & log4cpp::LayoutAppender::_getLayout | ( | ) | [protected] |
Return the layout of the appender. This method is the Layout accessor for subclasses of LayoutAppender.
Definition at line 36 of file LayoutAppender.cpp.
bool log4cpp::LayoutAppender::requiresLayout | ( | ) | const [virtual] |
Check if the appender requires a layout. All LayoutAppenders do, therefore this method returns true for all subclasses.
Implements log4cpp::AppenderSkeleton.
Definition at line 24 of file LayoutAppender.cpp.
void log4cpp::LayoutAppender::setLayout | ( | Layout * | layout = NULL |
) | [virtual] |
Set the Layout for this appender.
layout | The layout to use. |
Implements log4cpp::AppenderSkeleton.
Definition at line 28 of file LayoutAppender.cpp.
Layout* log4cpp::LayoutAppender::_layout [private] |
Definition at line 50 of file LayoutAppender.hh.