Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
log4cxx::spi::Configurator Class Referenceabstract

Implemented by classes capable of configuring log4j using a URL. More...

#include <configurator.h>

Inheritance diagram for log4cxx::spi::Configurator:
log4cxx::helpers::Object log4cxx::PropertyConfigurator log4cxx::xml::DOMConfigurator

Public Member Functions

virtual ConfigurationStatus doConfigure (const File &configFileName, spi::LoggerRepositoryPtr repository)=0
 Interpret a resource pointed by a URL and set up log4j accordingly.
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Protected Member Functions

 Configurator ()
 

Detailed Description

Implemented by classes capable of configuring log4j using a URL.

Constructor & Destructor Documentation

◆ Configurator()

log4cxx::spi::Configurator::Configurator ( )
protected

Member Function Documentation

◆ doConfigure()

virtual ConfigurationStatus log4cxx::spi::Configurator::doConfigure ( const File configFileName,
spi::LoggerRepositoryPtr  repository 
)
pure virtual

Interpret a resource pointed by a URL and set up log4j accordingly.

The configuration is done relative to the hierarchy parameter.

Parameters
configFileNameThe file to parse
repositoryThe hierarchy to operation upon.

Implemented in log4cxx::PropertyConfigurator, and log4cxx::xml::DOMConfigurator.


The documentation for this class was generated from the following file: