Apache Log4cxx  Version 1.8.0
appender.h File Reference
#include <log4cxx/spi/optionhandler.h>
#include <log4cxx/helpers/object.h>
#include <vector>

Go to the source code of this file.

Classes

class  log4cxx::Appender
 Implement this interface for your own strategies for outputting log statements. More...
 

Namespaces

 log4cxx
 
 log4cxx::spi
 

Macros

#define LOG4CXX_APPEND_FORMAL_PARAMETERS   const spi::LoggingEventPtr& event, helpers::Pool& p
 Log in Appender specific way. More...
 
#define LOG4CXX_APPEND_PARAMETERS   event, p
 

Typedefs

typedef std::shared_ptr< LoggingEvent > log4cxx::spi::LoggingEventPtr
 
typedef std::shared_ptr< Filter > log4cxx::spi::FilterPtr
 
typedef std::shared_ptr< ErrorHandler > log4cxx::spi::ErrorHandlerPtr
 
typedef std::shared_ptr< Layout > log4cxx::LayoutPtr
 

Functions

 log4cxx::LOG4CXX_PTR_DEF (Appender)
 
 log4cxx::LOG4CXX_LIST_DEF (AppenderList, AppenderPtr)
 

Macro Definition Documentation

◆ LOG4CXX_APPEND_FORMAL_PARAMETERS

#define LOG4CXX_APPEND_FORMAL_PARAMETERS   const spi::LoggingEventPtr& event, helpers::Pool& p

Log in Appender specific way.

When appropriate, Loggers will call the doAppend method of appender implementations in order to log.

Examples
custom-appender.cpp.

◆ LOG4CXX_APPEND_PARAMETERS

#define LOG4CXX_APPEND_PARAMETERS   event, p