log4shib::AbortAppender(3)

πŸ“¦ version 2.0.1, in opensuse-leap 16.0

πŸ’– 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 there
  • virtual ~AbortAppender () β€” the destructor, virtual and everything
  • virtual 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 for AppenderSkeleton.
  • 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 for Appender.
  • 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 for AppenderSkeleton.

πŸ“ 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 () β€” Call reopen() on all existing Appenders.
  • static void closeAll () β€” Call reopen() 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 β€” The LoggingEvent to 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() returns false, 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 πŸ¦‹