| Package | org.as3commons.logging.setup |
| Class | public class MergedSetup |
| Inheritance | MergedSetup Object |
| Implements | ILogSetup |
| Since : | 2.6 |
See also
| Method | Defined By | ||
|---|---|---|---|
Constructs a new MergedSetup that applies both
ILogSetups . | MergedSetup | ||
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 | ||
| MergedSetup | () | Constructor |
public function MergedSetup(logSetupA:ILogSetup, logSetupB:ILogSetup)
Constructs a new MergedSetup that applies both
ILogSetups .
logSetupA:ILogSetup — First ILogSetup to be applied.
| |
logSetupB:ILogSetup — Second ILogSetup to be applied.
|
Error — if one of both setups in null
|
| 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:Logger — Logger to be augmented by the setup
|
| insertSetups | () | method |
public function insertSetups(array:Array, pos:int):voidInserts all targets of this MergedSetup into a position of an array (performance ey
Parameters
array:Array | |
pos:int |