log4cpp  1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Functions | Variables
log4cpp Namespace Reference

The top level namespace for all 'Log for C++' types and classes. More...

Namespaces

 details
 
 threading
 

Classes

class  AbortAppender
 This Appender causes the application to abort() upon the first append() call. More...
 
class  Appender
 Implement this interface for your own strategies for printing log statements. More...
 
class  AppendersFactory
 
class  AppenderSkeleton
 AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of handling of Thresholds and Filters. More...
 
class  BasicConfigurator
 This class implements a trivial default configuration for log4cpp: it adds a FileAppender that logs to stdout and uses a BasicLayout to the root Category. More...
 
class  BasicLayout
 BasicLayout is a simple fixed format Layout implementation. More...
 
class  BufferingAppender
 
class  Category
 This is the central class in the log4j package. More...
 
struct  CategoryNameComponent
 
class  CategoryStream
 This class enables streaming simple types and objects to a category. More...
 
class  ConfigureFailure
 Exception class for configuration. More...
 
class  FactoryParams
 
class  FileAppender
 
class  Filter
 Users should extend this class to implement customized logging event filtering. More...
 
class  FixedContextCategory
 This Category subclass replaces the NDC field in LoggingEvents with a fixed context string. More...
 
struct  FormatModifierComponent
 
class  HierarchyMaintainer
 HierarchyMaintainer is an internal log4cpp class. More...
 
class  IdsaAppender
 IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. More...
 
class  Layout
 Extend this abstract class to create your own log layout format. More...
 
class  LayoutAppender
 LayoutAppender is a common superclass for all Appenders that require a Layout. More...
 
class  LayoutsFactory
 
class  LevelEvaluator
 
struct  LoggingEvent
 The internal representation of logging events. More...
 
struct  MessageComponent
 
struct  MillisSinceEpochComponent
 
class  NDC
 The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patterns for Logging Diagnostic Messages" part of the book "<i>Pattern Languages of Program Design 3</i>" edited by Martin et al. More...
 
struct  NDCComponent
 
class  NTEventLogAppender
 NTEventLogAppender is an Appender that sends LoggingEvents to the Windows event log. More...
 
class  OstreamAppender
 OstreamAppender appends LoggingEvents to ostreams. More...
 
class  PassThroughLayout
 
class  PatternLayout
 PatternLayout is a simple fixed format Layout implementation. More...
 
class  Priority
 The Priority class provides importance levels with which one can categorize log messages. More...
 
struct  PriorityComponent
 
struct  ProcessorTimeComponent
 
class  Properties
 
class  PropertyConfigurator
 Property configurator will read a config file using the same (or similar) format to the config file used by log4j. More...
 
class  PropertyConfiguratorImpl
 
class  RemoteSyslogAppender
 RemoteSyslogAppender sends LoggingEvents to a remote syslog system. More...
 
class  RollingFileAppender
 RollingFileAppender is a FileAppender that rolls over the logfile once it has reached a certain size limit. More...
 
struct  SecondsSinceEpochComponent
 
class  SimpleConfigurator
 This class implements a simple Configurator for log4cpp. More...
 
class  SimpleLayout
 BasicLayout is a simple fixed format Layout implementation. More...
 
struct  StringLiteralComponent
 
class  StringQueueAppender
 This class puts log messages in an in-memory queue. More...
 
class  StringUtil
 
class  SyslogAppender
 SyslogAppender sends LoggingEvents to the local syslog system. More...
 
class  tab
 
struct  ThreadNameComponent
 
class  TimeStamp
 A simple TimeStamp abstraction. More...
 
struct  TimeStampComponent
 
class  TriggeringEventEvaluator
 
class  TriggeringEventEvaluatorFactory
 
class  width
 
class  Win32DebugAppender
 Win32DebugAppender simply sends the log message to the default system debugger on Win32 systems. More...
 

Typedefs

typedef std::set< Appender * > AppenderSet
 

Functions

LOG4CPP_EXPORT CategoryStreameol (CategoryStream &os)
 eol manipulator More...
 
LOG4CPP_EXPORT CategoryStreamleft (CategoryStream &os)
 left manipulator More...
 
std::auto_ptr< Appendercreate_abort_appender (const FactoryParams &params)
 
std::auto_ptr< Appendercreate_file_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_roll_file_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_idsa_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_nt_event_log_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_remote_syslog_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_syslog_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_win32_debug_appender (const FactoryParams &)
 
std::auto_ptr< Appendercreate_smtp_appender (const FactoryParams &)
 
std::auto_ptr< Layoutcreate_basic_layout (const FactoryParams &params)
 
std::auto_ptr< Layoutcreate_simple_layout (const FactoryParams &params)
 
std::auto_ptr< Layoutcreate_pattern_layout (const FactoryParams &params)
 
std::auto_ptr< Layoutcreate_pass_through_layout (const FactoryParams &params)
 
std::auto_ptr
< TriggeringEventEvaluator
create_level_evaluator (const FactoryParams &params)
 
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 Filter
 
class LOG4CPP_EXPORT Category
 
class LOG4CPP_EXPORT CategoryStream
 
static AppendersFactoryappenders_factory_ = 0
 
static const std::string EMPTY
 
static LayoutsFactorylayouts_factory_ = 0
 
static
TriggeringEventEvaluatorFactory
evaluators_factory_ = 0
 

Detailed Description

The top level namespace for all 'Log for C++' types and classes.

Typedef Documentation

typedef std::set<Appender *> log4cpp::AppenderSet

Function Documentation

std::auto_ptr< Appender > log4cpp::create_abort_appender ( const FactoryParams &  params)
std::auto_ptr< Layout > log4cpp::create_basic_layout ( const FactoryParams &  params)
std::auto_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::auto_ptr< Appender > log4cpp::create_nt_event_log_appender ( const FactoryParams &  params)
std::auto_ptr< Layout > log4cpp::create_pass_through_layout ( const FactoryParams &  params)
std::auto_ptr< Layout > log4cpp::create_pattern_layout ( const FactoryParams &  params)
std::auto_ptr< Appender > log4cpp::create_remote_syslog_appender ( const FactoryParams &  params)
std::auto_ptr< Appender > log4cpp::create_roll_file_appender ( const FactoryParams &  params)
std::auto_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::auto_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 width &  w 
)
ostream& log4cpp::operator<< ( ostream &  os,
const tab &  t 
)

Variable Documentation

AppendersFactory* log4cpp::appenders_factory_ = 0
static
const std::string log4cpp::EMPTY
static
TriggeringEventEvaluatorFactory* log4cpp::evaluators_factory_ = 0
static
LayoutsFactory* log4cpp::layouts_factory_ = 0
static