log4cpp::IdsaAppender(3)

πŸ“¦
version 1.1.4 Β· 4 versions
, in opensuse-leap 16.0

🌸 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 sends LoggingEvents to 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 () β€” 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 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 () β€” Calls idsa_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 _idsaName
  • IDSA_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, exitsing is literally how the original spells it πŸ‘€)
  • static bool reopenAll () β€” Call reopen() on all existing Appenders.
  • static void closeAll () β€” Call reopen() 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 Appender
  • idsaName β€” 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