log4cpp(3)
π NAME π
Okay bestie, this is log4cpp(3) β the Library Functions Manual page for log4cpp β and it's literally the top level namespace for all 'Log for C++' types and classes. That's the whole name vibe. Periodt. β¨
β¨ SYNOPSIS β¨
Here's the cast list, the function menu, and the static-variable lore. Buckle up. π
π§ Namespaces
detailsβ listed, no extra description on the page.threadingβ also listed, also no extra description.
π Classes
- class
AbortAppenderβ this appender causes the application to callabort()on the firstappend()call. It's giving "no thoughts, just termination." π - class
Appenderβ implement this interface for your own strategies for printing log statements. - class
AppendersFactoryβ no description on the page; it's just listed. - class
AppenderSkeletonβ helper class simplifying implementation of Appenders: it already takes care of handling Thresholds and Filters. - class
BasicConfiguratorβ implements a trivial default configuration for log4cpp: it adds aFileAppenderthat logs to stdout and uses aBasicLayoutto the rootCategory. - class
BasicLayoutβ a simple fixed formatLayoutimplementation. - class
BufferingAppenderβ no description on the page. - class
Categoryβ the central class in the log4j package. (Yes, it says log4j. Preserve the lore.) - struct
CategoryNameComponentβ no description on the page. - class
CategoryStreamβ enables streaming simple types and objects to a category. - class
ConfigureFailureβ exception class for configuration. - class
DailyRollingFileAppenderβ aFileAppenderthat rolls over the logfile once the next day starts. - class
FactoryParamsβ no description on the page. - class
FileAppenderβ no description on the page. - class
Filterβ users should extend this class to implement customized logging event filtering. - class
FixedContextCategoryβ thisCategorysubclass replaces the NDC field in LoggingEvents with a fixed context string. - struct
FormatModifierComponentβ no description on the page. - class
HierarchyMaintainerβ an internal log4cpp class. - class
IdsaAppenderβ anAppenderthat sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. - class
Layoutβ extend this abstract class to create your own log layout format. - class
LayoutAppenderβ common superclass for all Appenders that require aLayout. - class
LayoutsFactoryβ no description on the page. - class
LevelEvaluatorβ no description on the page. - struct
LoggingEventβ the internal representation of logging events. - struct
MessageComponentβ no description on the page. - struct
MillisSinceEpochComponentβ no description on the page. - class
NDCβ implements nested diagnostic contexts as defined by Neil Harrison in the articlePatternsforLoggingDiagnosticMessages, part of the book Pattern Languages ofProgram Design 3 edited by Martin et al. - struct
NDCComponentβ no description on the page. - class
NTEventLogAppenderβ anAppenderthat sends LoggingEvents to the Windows event log. - class
OstreamAppenderβ appends LoggingEvents to ostreams. - class
PassThroughLayoutβ no description on the page. - class
PatternLayoutβ a simple fixed formatLayoutimplementation. - class
Priorityβ provides importance levels with which one can categorize log messages. - struct
PriorityComponentβ no description on the page. - struct
ProcessorTimeComponentβ no description on the page. - class
Propertiesβ no description on the page. - class
PropertyConfiguratorβ property configurator will read a config file using the same (or similar) format to the config file used by log4j. - class
PropertyConfiguratorImplβ no description on the page. - class
RemoteSyslogAppenderβ sends LoggingEvents to a remote syslog system. - class
RollingFileAppenderβ aFileAppenderthat rolls over the logfile once it has reached a certain size limit. - struct
SecondsSinceEpochComponentβ no description on the page. - class
SimpleConfiguratorβ implements a simple Configurator for log4cpp. - class
SimpleLayoutβ the page's one-liner is literally "BasicLayout is a simple fixed format Layout implementation." Keep that exactly, bestie. - struct
StringLiteralComponentβ no description on the page. - class
StringQueueAppenderβ this class puts log messages in an in-memory queue. - class
StringUtilβ no description on the page. - class
SyslogAppenderβ sends LoggingEvents to the local syslog system. - class
tabβ class listed, no description. Lowercase icon behavior. π - struct
ThreadNameComponentβ no description on the page. - class
TimeStampβ a simple TimeStamp abstraction. - struct
TimeStampComponentβ no description on the page. - class
TriggeringEventEvaluatorβ no description on the page. - class
TriggeringEventEvaluatorFactoryβ no description on the page. - class
widthβ class listed, no description. Lowercase icon behavior. π¦ - class
Win32DebugAppenderβ simply sends the log message to the default system debugger on Win32 systems.
π¦ Typedefs
typedef std::set< Appender * > AppenderSetβ the one typedef in the synopsis. That's it, that's the set.
πΈ Functions
LOG4CPP_EXPORT CategoryStream & eol (CategoryStream &os)β eol manipulator.LOG4CPP_EXPORT CategoryStream & left (CategoryStream &os)β left manipulator.std::LOG4CPP_UNIQUE_PTR< Appender > create_abort_appender (const FactoryParams ¶ms)std::auto_ptr< Appender > create_file_appender (const FactoryParams &)std::auto_ptr< Appender > create_roll_file_appender (const FactoryParams &)std::auto_ptr< Appender > create_daily_roll_file_appender (const FactoryParams &)std::auto_ptr< Appender > create_idsa_appender (const FactoryParams &)std::auto_ptr< Appender > create_nt_event_log_appender (const FactoryParams &)std::auto_ptr< Appender > create_remote_syslog_appender (const FactoryParams &)std::auto_ptr< Appender > create_syslog_appender (const FactoryParams &)std::auto_ptr< Appender > create_win32_debug_appender (const FactoryParams &)std::auto_ptr< Appender > create_smtp_appender (const FactoryParams &)std::LOG4CPP_UNIQUE_PTR< Layout > create_basic_layout (const FactoryParams ¶ms)std::auto_ptr< Layout > create_simple_layout (const FactoryParams ¶ms)std::auto_ptr< Layout > create_pattern_layout (const FactoryParams ¶ms)std::auto_ptr< Layout > create_pass_through_layout (const FactoryParams ¶ms)std::LOG4CPP_UNIQUE_PTR< TriggeringEventEvaluator > create_level_evaluator (const FactoryParams ¶ms)void localtime (const ::time_t *time, ::tm *t)ostream & operator<< (ostream &os, const width &w)ostream & operator<< (ostream &os, const tab &t)template<typename T> const T & min (const T &a, const T &b)template<typename T> const T & max (const T &a, const T &b)
π Variables
class LOG4CPP_EXPORT Filterstatic Appender::AppenderMapStorageInitializer appenderMapStorageInitializerclass LOG4CPP_EXPORT Categoryclass LOG4CPP_EXPORT CategoryStreamstatic int appenders_nifty_counterstatic char appenderMapStorage_buf [sizeof(Appender::AppenderMapStorage)]static AppendersFactory * appenders_factory_ = 0static const std::string EMPTYstatic LayoutsFactory * layouts_factory_ = 0static TriggeringEventEvaluatorFactory * evaluators_factory_ = 0
π Detailed Description π
The detailed description, no cap, is the same top-level namespace truth: log4cpp is the top level namespace for all 'Log for C++' types and classes. That's the whole detailed section, and honestly it ate. π
π Typedef Documentation π
typedef std::set<Appender *> log4cpp::AppenderSetβ this is the typedef documentation entry, spelled exactly like that on the page.
π₯ Function Documentation π₯
Every signature stays exactly as written, bestie. π«Ά
std::auto_ptr< Appender > log4cpp::create_abort_appender (const FactoryParams & params)std::auto_ptr< Layout > log4cpp::create_basic_layout (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_daily_roll_file_appender (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_file_appender (const FactoryParams & params)std::auto_ptr< Appender > log4cpp::create_idsa_appender (const FactoryParams & )std::auto_ptr< TriggeringEventEvaluator > log4cpp::create_level_evaluator (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_nt_event_log_appender (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Layout > log4cpp::create_pass_through_layout (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Layout > log4cpp::create_pattern_layout (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_remote_syslog_appender (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_roll_file_appender (const FactoryParams & params)std::LOG4CPP_UNIQUE_PTR< Layout > log4cpp::create_simple_layout (const FactoryParams & params)std::auto_ptr< Appender > log4cpp::create_smtp_appender (const FactoryParams & )std::auto_ptr< Appender > log4cpp::create_syslog_appender (const FactoryParams & )std::LOG4CPP_UNIQUE_PTR< Appender > log4cpp::create_win32_debug_appender (const FactoryParams & params)CategoryStream & log4cpp::eol (CategoryStream & os)β eol manipulator.CategoryStream & log4cpp::left (CategoryStream & os)β left manipulator.void log4cpp::localtime (const ::time_t * time, ::tm * t)template<typename T> const T & log4cpp::max (const T & a, const T & b)template<typename T> const T & log4cpp::min (const T & a, const T & b)ostream & log4cpp::operator<< (ostream & os, const tab & t)ostream & log4cpp::operator<< (ostream & os, const width & w)
π Variable Documentation π
char log4cpp::appenderMapStorage_buf[sizeof(Appender::AppenderMapStorage)] [static]Appender::AppenderMapStorageInitializer log4cpp::appenderMapStorageInitializer [static]AppendersFactory* log4cpp::appenders_factory_ = 0 [static]int log4cpp::appenders_nifty_counter [static]class LOG4CPP_EXPORT log4cpp::Categoryclass LOG4CPP_EXPORT log4cpp::CategoryStreamconst std::string log4cpp::EMPTY [static]TriggeringEventEvaluatorFactory* log4cpp::evaluators_factory_ = 0 [static]class LOG4CPP_EXPORT log4cpp::FilterLayoutsFactory* log4cpp::layouts_factory_ = 0 [static]
πΈ Author πΈ
Generated automatically by Doxygen for log4cpp from the source code. That's the author section, bestie. π
Cute little sign-off: source/version is log4cpp, Version 1.1, and the footer also shows log4cpp(3) with the date slot blank in the original β so we're not inventing a date. Bye bestie, go log something iconic. πβ¨
π¦ 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