| Package | org.as3commons.logging.setup |
| Class | public class SimpleTargetSetup |
| Inheritance | SimpleTargetSetup Object |
| Implements | ILogSetup |
| Since : | 2.0 |
ILogTarget in the setup process
is by using this SimpleTargetSetup.
It does nothing more but redirecting the ILogTarget to all
levels of all loggers.
LOGGER_FACTORY.setup = new SimpleTargetSetup( new SOSTarget );
See also
| Method | Defined By | ||
|---|---|---|---|
SimpleTargetSetup(target:ILogTarget)
Constructs a new SimpleTargetSetup
| SimpleTargetSetup | ||
Sets targets of the passed-in Logger to the ones
desired by the setup. | SimpleTargetSetup | ||
| SimpleTargetSetup | () | Constructor |
public function SimpleTargetSetup(target:ILogTarget)
Constructs a new SimpleTargetSetup
target:ILogTarget — Target to which the output should flow to.
|
| 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
|