Apache log4cxx  Version 0.12.0
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

 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 log4cxx::helpers::Object
virtual ~Object ()
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Detailed Description

Implemented by classes capable of configuring log4j using a URL.

Constructor & Destructor Documentation

◆ Configurator()

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

Member Function Documentation

◆ doConfigure()

virtual void 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: