Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

VersionMango::PropertyConfigurator Class Reference

List of all members.

Static Public Member Functions

 this ()
void configure (char[] filepath)

Private Attributes

import mango io Properties

Static Private Attributes

Logger Level[char[]] map

Member Function Documentation

this  )  [inline, static]
 

Populate a map of acceptable level names

Definition at line 113 of file Configurator.d.

void configure char[]  filepath  )  [inline, static]
 

Add a default StdioAppender, with a SimpleTimerLayout, to the root node. The activity levels of all nodes are set via a property file with name=value pairs specified that follow this format:

name: the actual logger name, in dot notation format. The name "root" is reserved to match the root logger node.

value: one of TRACE, INFO, WARN, ERROR, FATAL or NONE (or the lowercase equivalents).

For example, the declaration

mango.unittest=INFO

sets the level of the logger called "mango.unittest".

Definition at line 150 of file Configurator.d.

References Logger::getLogger(), Logger::getRootLogger(), and Logger::setLevel().


Member Data Documentation

import mango io Properties [private]
 

Definition at line 103 of file Configurator.d.

Logger Level [char[]] map [static, private]
 

Definition at line 105 of file Configurator.d.


The documentation for this class was generated from the following file:
Generated on Tue Jan 25 21:18:45 2005 for Mango by doxygen 1.3.6