LayoutAppender is a common superclass for all Appenders that require a Layout. More...
#include <LayoutAppender.hh>
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. | |
LayoutAppender is a common superclass for all Appenders that require a Layout.
| log4shib::LayoutAppender::LayoutAppender | ( | const std::string & | name | ) |
| log4shib::LayoutAppender::~LayoutAppender | ( | ) | [virtual] |
| Layout & log4shib::LayoutAppender::_getLayout | ( | ) | [protected] |
Return the layout of the appender.
This method is the Layout accessor for subclasses of LayoutAppender.
| bool log4shib::LayoutAppender::requiresLayout | ( | ) | const [virtual] |
Check if the appender requires a layout.
All LayoutAppenders do, therefore this method returns true for all subclasses.
Implements log4shib::AppenderSkeleton.
| void log4shib::LayoutAppender::setLayout | ( | Layout * | layout = NULL |
) | [virtual] |
Set the Layout for this appender.
| layout | The layout to use. |
Implements log4shib::AppenderSkeleton.
1.6.1