LOG4SHIB::LAYOUTAPPENDER(3)
π NAME π
okay bestie, welcome to the log4shib::LayoutAppender(3) manual page β this is the library-functions manual for log4shib::LayoutAppender. It's the common superclass for all Appenders that require a Layout. periodt π
β¨ SYNOPSIS β¨
#include <LayoutAppender.hh>
Inherits log4shib::AppenderSkeleton.
Inherited by log4shib::FileAppender, log4shib::NTEventLogAppender, log4shib::OstreamAppender, log4shib::RemoteSyslogAppender, log4shib::StringQueueAppender, log4shib::SyslogAppender, and log4shib::Win32DebugAppender. the whole appender friend group fr fr π«Ά
π Public Types π
typedef BasicLayout DefaultLayoutTypeβ this is the default layout type, bestie.
π Public Member Functions π
LayoutAppender (const std::string &name)β constructor; it takes the appender name.virtual ~LayoutAppender ()β virtual destructor.virtual bool requiresLayout () constβ check if the appender requires a layout.virtual void setLayout (Layout *layout=NULL)β set the Layout for this appender.
π«Ά Public Member Functions inherited from log4shib::AppenderSkeleton π«Ά
virtual ~AppenderSkeleton ()β destructor for AppenderSkeleton.virtual void doAppend (const LoggingEvent &event)β log in Appender specific way.virtual bool reopen ()β reopens the output destination of this Appender, e.g.virtual void close ()=0β release any resources allocated within the appender such as file handles, network connections, etc.virtual void setThreshold (Priority::Value priority)β set the threshold priority of this Appender.virtual Priority::Value getThreshold ()β get the threshold priority of this Appender.virtual void setFilter (Filter *filter)β set a Filter for this appender.virtual Filter * getFilter ()β get the Filter for this appender.
π«Ά Public Member Functions inherited from log4shib::Appender π«Ά
virtual ~Appender ()β destructor for Appender.const std::string & getName () constβ get the name of this appender.
π‘οΈ Protected Member Functions π‘οΈ
Layout & _getLayout ()β return the layout of the appender.
π‘οΈ Protected Member Functions inherited from log4shib::AppenderSkeleton π‘οΈ
AppenderSkeleton (const std::string &name)β constructor for AppenderSkeleton.virtual void _append (const LoggingEvent &event)=0β log in Appender specific way.
π‘οΈ Protected Member Functions inherited from log4shib::Appender π‘οΈ
Appender (const std::string &name)β constructor for Appender.
π§ Additional Inherited Members π§
π§ Static Public Member Functions inherited from log4shib::Appender π§
static Appender * getAppender (const std::string &name)β get a pointer to an exitsing Appender.static bool reopenAll ()β callreopen()on all existing Appenders.static void closeAll ()β callreopen()on all existing Appenders.
π Detailed Description π
LayoutAppender is a common superclass for all Appenders that require a Layout. it's giving foundational base-class energy, and honestly? iconic π
πΈ Member Typedef Documentation πΈ
typedef BasicLayout log4shib::LayoutAppender::DefaultLayoutType
that's the default layout type, no cap. π
π Constructor & Destructor Documentation π
log4shib::LayoutAppender::LayoutAppender (const std::string & name)β constructor signature as listed; takes the appender name.log4shib::LayoutAppender::~LayoutAppender () [virtual]β virtual destructor signature as listed.
π Member Function Documentation π
Layout & log4shib::LayoutAppender::_getLayout () [protected]β return the layout of the appender. This method is the Layout accessor for subclasses of LayoutAppender.
Returns β the Layout.
bool log4shib::LayoutAppender::requiresLayout () const [virtual]β check if the appender requires a layout. All LayoutAppenders do, therefore this method returnstruefor all subclasses.
Returns β true.
Implements β log4shib::AppenderSkeleton.
void log4shib::LayoutAppender::setLayout (Layout * layout = NULL) [virtual]β set the Layout for this appender.
Parameters β layout The layout to use.
Implements β log4shib::AppenderSkeleton.
π Author π
Generated automatically by Doxygen for log4shib from the source code. slay, Doxygen π
π that's the whole vibe, bestie β brought to you by log4shib, Version 2.0.1, and the log4shib::LayoutAppender(3) page. stay iconic β¨π
π¦ where this page comes from
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms