Apache Log4cxx
Version 1.6.0
|
An abstract base for classes capable of configuring Log4cxx. More...
#include <configurator.h>
Public Member Functions | |
virtual ConfigurationStatus | doConfigure (const File &configFileName, spi::LoggerRepositoryPtr repository)=0 |
Read configuration from configFileName . | |
Public Member Functions inherited from log4cxx::helpers::Object | |
virtual | ~Object () |
virtual const helpers::Class & | getClass () const =0 |
virtual bool | instanceof (const Class &clazz) const =0 |
virtual const void * | cast (const Class &clazz) const =0 |
Static Public Member Functions | |
static helpers::Properties & | properties () |
The key value pairs used when expanding ${varname} instances in a configuration file. |
Protected Member Functions | |
Configurator () |
An abstract base for classes capable of configuring Log4cxx.
|
protected |
|
pure virtual |
Read configuration from configFileName
.
If repository
is not provided, the spi::LoggerRepository held by LogManager is used.
configFileName | The file to parse |
repository | Holds the Logger instances. |
Implemented in log4cxx::PropertyConfigurator, and log4cxx::xml::DOMConfigurator.
|
static |
The key value pairs used when expanding ${varname} instances in a configuration file.
By default, the map holds the currently executing program file path and the std::filesystem::path decomposition of the currently executing program file path, using the variable names: