Interface org.as2lib.env.log.ConfigurableHierarchicalLogger

Description

ConfigurableHierarchicalLogger declares methods needed to configure hierarchical loggers.

Loggers that shall be used with the LoggerHierarchy repository must implement this interface.

Method Index

setName(), setParent()

Inherited from HierarchicalLogger

Inherited from Logger

Inherited from BasicInterface

Method Detail

setParent

public function setParent(parent:HierarchicalLogger):Void

Sets the parent of this logger.

The parent is used to obtain needed configuration like handlers and levels.

Parameters

parentthe parent of this logger

setName

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.

Parameters

namethe name of this logger