Packageorg.as3commons.logging.setup
Classpublic class MergedSetup
InheritanceMergedSetup Inheritance Object
Implements ILogSetup

Since : 2.6

See also

org.as3commons.logging.setup.mergeSetups()


Public Methods
 MethodDefined By
  
MergedSetup(logSetupA:ILogSetup, logSetupB:ILogSetup)
Constructs a new MergedSetup that applies both ILogSetups .
MergedSetup
  
applyTo(logger:Logger):void
Sets targets of the passed-in Logger to the ones desired by the setup.
MergedSetup
  
insertSetups(array:Array, pos:int):void
Inserts all targets of this MergedSetup into a position of an array (performance ey
MergedSetup
Constructor Detail
MergedSetup()Constructor
public function MergedSetup(logSetupA:ILogSetup, logSetupB:ILogSetup)

Constructs a new MergedSetup that applies both ILogSetups .

Parameters
logSetupA:ILogSetup — First ILogSetup to be applied.
 
logSetupB:ILogSetup — Second ILogSetup to be applied.

Throws
Error — if one of both setups in null
Method Detail
applyTo()method
public function applyTo(logger:Logger):void

Sets targets of the passed-in Logger to the ones desired by the setup.

The setup should fill the desired targets to the Logger instances created by LoggerFactory.

Parameters

logger:LoggerLogger to be augmented by the setup

insertSetups()method 
public function insertSetups(array:Array, pos:int):void

Inserts all targets of this MergedSetup into a position of an array (performance ey

Parameters

array:Array
 
pos:int