ConfigurableHierarchicalLogger
declares methods needed to configure
hierarchical loggers.
Loggers that shall be used with the LoggerHierarchy repository must implement this interface.
public function setParent(parent:HierarchicalLogger):Void
Sets the parent of this logger.
The parent is used to obtain needed configuration like handlers and levels.
parent | the parent of this logger |
public function setName(name:String):Void
Sets the name of this logger.
The passed-in name
must exist of the path as well as the actual
identifier. That means it must be fully qualified.
The LoggerHierarchy prescribes that the different parts of the name
must be separated by periods. If you do not want to use it with the
LoggerHierarchy
you can of course separate the different parts as you
please.
name | the name of this logger |