Static Public Member Functions | |
this () | |
void | configure (char[] filepath) |
Private Attributes | |
import mango io | Properties |
Static Private Attributes | |
Logger Level[char[]] | map |
PropertyConfigurator parses a much simplified version of the property file. Mango.log only supports the settings of Logger levels at this time; setup of Appenders and Layouts are currently done "in the code", though this should not be a major hardship.
Definition at line 96 of file Configurator.d.
|
Populate a map of acceptable level names Definition at line 108 of file Configurator.d. References ILevel::Level. |
|
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 145 of file Configurator.d. References Logger::getLogger(), Logger::getRootLogger(), and Logger::setLevel(). |
|
Definition at line 98 of file Configurator.d. |
|
Definition at line 100 of file Configurator.d. |