log4shib::IdsaAppender(3)
πΈ 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 ()β Callsidsa_open()andidsa_close().virtual void close ()β Callsidsa_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 ()β Callsidsa_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 ()β Callreopen()on all existing Appenders.static void closeAll ()β Callreopen()on all existing Appenders. The doc literally saysreopen()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 π
β¨π«Ά
π¦ 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