RootLogger represents the root in a logger hierarchy.
The name of a root logger is by default "root".
You must set a log level because otherwise the level in the hierarchy could
be null which could cause unexpected behavior.
This class is normally used in conjunction with the LoggerHierarchy.
new RootLogger()public function RootLogger(level:LogLevel)
Constructs a new RootLogger instance.
The name is automatically set to "root".
level | the level of this logger |
| IllegalArgumentException | if the passed-in level is null
or undefined
|
public function setLevel(level:LogLevel):VoidSets the level of this logger.
A level of value null or undefined is not allowed.
level | the new level of this logger |
| IllegalArgumentException | when level is null or
undefined
|
setLevel() in org.as2lib.env.log.ConfigurableLogger
setLevel() in org.as2lib.env.log.logger.SimpleHierarchicalLogger