Go to the documentation of this file.
10 #ifndef _LOG4CPP_FIXEDCONTEXTCATEGORY_HH
11 #define _LOG4CPP_FIXEDCONTEXTCATEGORY_HH
41 const std::string& context =
"");
53 virtual void setContext(
const std::string& context);
59 virtual std::string getContext()
const;
159 const std::string& message)
throw();
174 #endif // _LOG4CPP_FIXEDCONTEXTCATEGORY_HH
The top level namespace for all 'Log for C++' types and classes.
This Category subclass replaces the NDC field in LoggingEvents with a fixed context string.
This is the central class in the log4j package.
virtual void removeAllAppenders()
Removes all appenders for this Category.
virtual Priority::Value getChainedPriority() const
Starting from this Category, search the category hierarchy for a set priority and return it.
int Value
The type of Priority Values.
virtual void callAppenders(const LoggingEvent &event)
Call the appenders in the hierarchy starting at this.
virtual AppenderSet getAllAppenders() const
Returns the set of Appenders currently attached to this Catogory.
virtual void addAppender(Appender *appender)
Adds an Appender to this Category.
std::set< Appender * > AppenderSet
Implement this interface for your own strategies for printing log statements.
virtual void setAdditivity(bool additivity)
Set the additivity flag for this Category instance.
virtual bool getAdditivity() const
Returns the additivity flag for this Category instance.
virtual void _logUnconditionally2(Priority::Value priority, const std::string &message)
Unconditionally log a message with the specified priority.
virtual Appender * getAppender() const
Returns the first Appender for this Category, or NULL if no Appender has been set.
virtual Priority::Value getPriority() const
Returns the assigned Priority, if any, for this Category.
std::string _context
The context of this FixedContextCategory.
Category & _delegate
The delegate category of this FixedContextCategory.
virtual bool ownsAppender() const
Returns true if the Category owns the first Appender in its Appender set.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11