log4shib::IdsaAppender(3)

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

🌸 NAME 🌸

Welcome to the log4shib::IdsaAppender(3) page from the Library Functions Manual, bestie πŸ’…. log4shib::IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. Iconic behavior, honestly.

✨ SYNOPSIS ✨

#include <IdsaAppender.hh>

Inherits log4shib::AppenderSkeleton.

πŸ’– Public Member Functions πŸ’–

  • IdsaAppender (const std::string &name, const std::string &idsaName) β€” Instantiate an IdsaAppender with given name and name. Yes, that’s the doc wording 😭.
  • virtual ~IdsaAppender () β€” Virtual destructor for the appender.
  • virtual bool reopen () β€” Calls idsa_open() and idsa_close().
  • virtual void close () β€” Calls idsa_close().
  • virtual bool requiresLayout () const β€” The IdsaAppender does its own 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 open () β€” Calls idsa_open().
  • virtual void _append (const LoggingEvent &event) β€” Sends a LoggingEvent to idsa.

πŸ’œ 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.

πŸ“ Protected Attributes πŸ“

  • const std::string _idsaName β€” Protected attribute. The docs don’t add extra lore here.
  • IDSA_CONNECTION * _idsaConnection β€” Protected attribute. Again, no extra blurb in the docs.

🫢 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. That’s the doc’s spelling, not mine πŸ’€.
  • static bool reopenAll () β€” Call reopen() on all existing Appenders.
  • static void closeAll () β€” Call reopen() on all existing Appenders. The doc literally says reopen() here too, bestie β€” I’m just the messenger 😭.

πŸ”₯ DETAILED DESCRIPTION πŸ”₯

IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz.

See http://jade.cs.uct.ac.za/idsa/ for more information on IDS/A. Go off, Marc πŸ‘‘.

🧚 CONSTRUCTOR & DESTRUCTOR DOCUMENTATION 🧚

log4shib::IdsaAppender::IdsaAppender (const std::string & name, const std::string & idsaName)

Instantiate an IdsaAppender with given name and name. Unlike the syslog API, idsa allows multiple connections.

Parameters

  • name β€” The name of the Appender
  • idsaName β€” The service parameter of idsa

virtual log4shib::IdsaAppender::~IdsaAppender () [virtual]

Virtual destructor. No extra description in the docs.

πŸ’… MEMBER FUNCTION DOCUMENTATION πŸ’…

virtual void log4shib::IdsaAppender::_append (const LoggingEvent & event) [protected], [virtual]

Sends a LoggingEvent to idsa.

Parameters

  • event β€” the LoggingEvent to log.

Implements log4shib::AppenderSkeleton.

virtual void log4shib::IdsaAppender::close () [virtual]

Calls idsa_close().

Implements log4shib::AppenderSkeleton.

virtual void log4shib::IdsaAppender::open () [protected], [virtual]

Calls idsa_open().

virtual bool log4shib::IdsaAppender::reopen () [virtual]

Calls idsa_open() and idsa_close().

Reimplemented from log4shib::AppenderSkeleton.

virtual bool log4shib::IdsaAppender::requiresLayout () const [virtual]

The IdsaAppender does its own Layout.

Returns

false

Implements log4shib::AppenderSkeleton.

virtual void log4shib::IdsaAppender::setLayout (Layout * layout) [virtual]

Set the Layout for this appender.

Parameters

  • layout β€” The layout to use.

Implements log4shib::AppenderSkeleton.

🌸 MEMBER DATA DOCUMENTATION 🌸

IDSA_CONNECTION* log4shib::IdsaAppender::_idsaConnection [protected]

No extra description in the docs.

const std::string log4shib::IdsaAppender::_idsaName [protected]

No extra description in the docs.

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for log4shib from the source code.


That’s the whole page, bestie: log4shib Version 2.0.1, page log4shib::IdsaAppender(3). Stay slaying those logs πŸ’…βœ¨πŸ«Ά