#include <LayoutAppender.hh>
Inheritance diagram for log4cpp::LayoutAppender:
Public Types | |
typedef BasicLayout | DefaultLayoutType |
Public Member Functions | |
LayoutAppender (const std::string &name) | |
virtual | ~LayoutAppender () |
virtual bool | requiresLayout () const |
Check if the appender requires a layout. | |
virtual void | setLayout (Layout *layout=NULL) |
Set the Layout for this appender. | |
Protected Member Functions | |
Layout & | _getLayout () |
Return the layout of the appender. |
log4cpp::LayoutAppender::LayoutAppender | ( | const std::string & | name | ) |
log4cpp::LayoutAppender::~LayoutAppender | ( | ) | [virtual] |
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.
void log4cpp::LayoutAppender::setLayout | ( | Layout * | layout = NULL |
) | [virtual] |
Set the Layout for this appender.
layout | The layout to use. |
Implements log4cpp::AppenderSkeleton.
Layout & log4cpp::LayoutAppender::_getLayout | ( | ) | [protected] |
Return the layout of the appender.
This method is the Layout accessor for subclasses of LayoutAppender.