Apache Log4cxx  Version 1.7.0
Loading...
Searching...
No Matches
optionhandler.h File Reference

Go to the source code of this file.

Classes

class  log4cxx::spi::OptionHandler
 A string based interface to configure package components. More...

Namespaces

namespace  log4cxx
namespace  log4cxx::spi

Macros

#define LOG4CXX_ACTIVATE_OPTIONS_FORMAL_PARAMETERS   helpers::Pool& p
 Activate the options that were previously set with calls to option setters.
#define LOG4CXX_ACTIVATE_OPTIONS_PARAMETER   p
#define LOG4CXX_16_VIRTUAL_SPECIFIER

Typedefs

typedef std::shared_ptr< OptionHandlerlog4cxx::spi::OptionHandlerPtr

Macro Definition Documentation

◆ LOG4CXX_16_VIRTUAL_SPECIFIER

#define LOG4CXX_16_VIRTUAL_SPECIFIER

◆ LOG4CXX_ACTIVATE_OPTIONS_FORMAL_PARAMETERS

#define LOG4CXX_ACTIVATE_OPTIONS_FORMAL_PARAMETERS   helpers::Pool& p

Activate the options that were previously set with calls to option setters.

This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambiguous until all are set.

For example, the FileAppender has the File and Append options both of which are ambiguous until the other is also set.

◆ LOG4CXX_ACTIVATE_OPTIONS_PARAMETER

#define LOG4CXX_ACTIVATE_OPTIONS_PARAMETER   p