log4shib::AbortAppender(3)
π log4shib::AbortAppender π
okay so bestie, welcome to the Library Functions Manual for log4shib::AbortAppender β sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
log4shib::AbortAppender β This Appender causes the application to abort() upon the first append() call.
likeβ¦ that's it. that's the whole personality. it aborts. on the first append. iconic, honestly π
πΈ SYNOPSIS πΈ
#include <AbortAppender.hh>
Inherits log4shib::AppenderSkeleton.
π Public Member Functions
AbortAppender (const std::string &name)β the constructor, she's right therevirtual ~AbortAppender ()β the destructor, virtual and everythingvirtual bool reopen ()β Reopens the output destination of this Appender, e.g.virtual void close ()β Release any resources allocated within the appender such as file handles, network connections, etc.virtual bool requiresLayout () constβ The AbortAppender does not layout.virtual void setLayout (Layout *layout)β Set the Layout for this appender.
π¦ Public Member Functions inherited from log4shib::AppenderSkeleton
virtual ~AppenderSkeleton ()β Destructor forAppenderSkeleton.virtual void doAppend (const LoggingEvent &event)β Log in Appender specific way.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 forAppender.const std::string & getName () constβ Get the name of this appender.
π Protected Member Functions
virtual void _append (const LoggingEvent &event)β Log in Appender specific way.
β Protected Member Functions inherited from log4shib::AppenderSkeleton
AppenderSkeleton (const std::string &name)β Constructor forAppenderSkeleton.
π Protected Member Functions inherited from log4shib::Appender
Appender (const std::string &name)β Constructor forAppender.
π§ 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 π
This Appender causes the application to abort() upon the first append() call.
Since 0.3.5
like, she's been doing this since 0.3.5 and she has never once changed her mind. consistency queen π
π Constructor & Destructor Documentation π
log4shib::AbortAppender::AbortAppender (const std::string & name)
log4shib::AbortAppender::~AbortAppender () [virtual]
π₯ Member Function Documentation π₯
void log4shib::AbortAppender::_append (const LoggingEvent & event)
[protected], [virtual]
Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.
Parameters
eventβ TheLoggingEventto log.
Implements log4shib::AppenderSkeleton.
void log4shib::AbortAppender::close () [virtual]
Release any resources allocated within the appender such as file handles, network connections, etc.
Implements log4shib::AppenderSkeleton.
bool log4shib::AbortAppender::reopen () [virtual]
Reopens the output destination of this Appender, e.g. the logfile or TCP socket.
Returns
false if an error occured during reopening, true otherwise.
Reimplemented from log4shib::AppenderSkeleton.
bool log4shib::AbortAppender::requiresLayout () const [virtual]
The AbortAppender does not layout.
Returns
false
Implements log4shib::AppenderSkeleton.
void log4shib::AbortAppender::setLayout (Layout * layout) [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.
ngl bestie, the whole vibe here is "this appender does not layout, does not chill, and absolutely does not survive the first append."requiresLayout()returnsfalse, no cap.abort()is her whole arc and she ate πβ¨
mwah π that's the page β brought to you by log4shib, Version 2.0.1, straight from the source code, and she's serving log4shib::AbortAppender(3) realness till the very last line π¦
π¦ 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