log4cpp::IdsaAppender(3)
πΈ log4cpp::IdsaAppender(3) πΈ
Manual name: Library Functions Manual β yes bestie, we're in the library-functions group chat now. π
π NAME π
log4cpp::IdsaAppenderβ IdsaAppender is an Appender that sendsLoggingEventsto the IDS/A logger and reference monitor by Marc Welz.
β¨ SYNOPSIS β¨
#include <IdsaAppender.hh>
Inherits log4cpp::AppenderSkeleton.
π Public Member Functions
IdsaAppender (const std::string &name, const std::string &idsaName)β Instantiate an IdsaAppender with given name and name.virtual ~IdsaAppender ()β The destructor. No extra description in the original, so I'm not making one up, bestie.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 log4cpp::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 log4cpp::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 log4cpp::AppenderSkeleton
AppenderSkeleton (const std::string &name)β Constructor for AppenderSkeleton.
π Protected Member Functions inherited from log4cpp::Appender
Appender (const std::string &name)β Constructor for Appender.
π Protected Attributes
const std::string _idsaNameIDSA_CONNECTION * _idsaConnection
β Additional Inherited Members
π Static Public Member Functions inherited from log4cpp::Appender
static Appender * getAppender (const std::string &name)β Get a pointer to an exitsing Appender. (yes,exitsingis literally how the original spells it π)static bool reopenAll ()β Callreopen()on all existing Appenders.static void closeAll ()β Callreopen()on all existing Appenders.
π 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.
π Constructor & Destructor Documentation π
π log4cpp::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.
nameβ The name of the AppenderidsaNameβ The service parameter of idsa
πΈ virtual log4cpp::IdsaAppender::~IdsaAppender () [virtual]
That's the destructor, periodt. No extra description in the original.
β¨ Member Function Documentation β¨
π¦ virtual void log4cpp::IdsaAppender::_append (const LoggingEvent & event) [protected], [virtual]
Sends a LoggingEvent to idsa.
eventβ the LoggingEvent to log.
Implements log4cpp::AppenderSkeleton.
π
virtual void log4cpp::IdsaAppender::close () [virtual]
Calls idsa_close()
Implements log4cpp::AppenderSkeleton.
π§ virtual void log4cpp::IdsaAppender::open () [protected], [virtual]
Calls idsa_open().
π«Ά virtual bool log4cpp::IdsaAppender::reopen () [virtual]
Calls idsa_open() and idsa_close()
Reimplemented from log4cpp::AppenderSkeleton.
β virtual bool log4cpp::IdsaAppender::requiresLayout () const [virtual]
The IdsaAppender does its own Layout.
Returns false
Implements log4cpp::AppenderSkeleton.
π virtual void log4cpp::IdsaAppender::setLayout (Layout * layout) [virtual]
Set the Layout for this appender.
layoutβ The layout to use.
Implements log4cpp::AppenderSkeleton.
π Member Data Documentation π
π IDSA_CONNECTION* log4cpp::IdsaAppender::_idsaConnection [protected]
No extra description in the original, bestie β just the member.
π const std::string log4cpp::IdsaAppender::_idsaName [protected]
Also no extra description in the original.
πΈ Author πΈ
Generated automatically by Doxygen for log4cpp from the source code.
π That's the whole page β source log4cpp, Version 1.1, title log4cpp::IdsaAppender(3), and the footer has no date, so I'm not inventing one. π
π¦ where this page comes from
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· 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