Configurator Class Reference

Inheritance diagram for Configurator:

Inheritance graph
[legend]
Collaboration diagram for Configurator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void doConfigure (const String &configFileName, spi::LoggerRepositoryPtr &repository)=0

Static Public Attributes

String INHERITED = _T("inherited")
String NuLL = _T("null")

Detailed Description

Implemented by classes capable of configuring log4j using a URL.


Member Function Documentation

virtual void doConfigure const String &  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:
configFileName The file to parse
repository The hierarchy to operation upon.

Implemented in PropertyConfigurator, and DOMConfigurator.


Member Data Documentation

String INHERITED = _T("inherited") [static]
 

Special level value signifying inherited behaviour. The current value of this string constant is inherited. NuLL is a synonym.

String NuLL = _T("null") [static]
 

Special level signifying inherited behaviour, same as INHERITED. The current value of this string constant is null.


The documentation for this class was generated from the following files:
  • configurator.h
  • configurator.cpp

Copyright © 1999-2004, Apache Software Foundation