Apache log4cxx  Version 0.10.0
Configurator Class Referenceabstract

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

Inheritance diagram for Configurator:
Object PropertyConfigurator DOMConfigurator

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from Object
static const helpers::ClassgetStaticClass ()
 
static const log4cxx::helpers::ClassRegistrationregisterClass ()
 

Detailed Description

Implemented by classes capable of configuring log4j using a URL.

Constructor & Destructor Documentation

Member Function Documentation

virtual void 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 PropertyConfigurator, and DOMConfigurator.


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