| Package | org.as3commons.logging.setup.target |
| Interface | public interface IColorableLogTarget extends ILogTarget |
| Implementors | MonsterDebugger3TraceTarget, MonsterDebuggerTarget |
| Since : | 2.5 |
| Property | Defined By | ||
|---|---|---|---|
| colors : Object [write-only]
The colors used to to send the log statement. | IColorableLogTarget | ||
| colors | property |
colors:Object [write-only] The colors used to to send the log statement.
This target supports custom colors for log statements. These can be changed dynamically if you pass here a Dictionary with Colors (numbers) used for all levels:
The default colors used in case null got passed-in
should be documented in the implementations.
public function set colors(value:Object):void
import org.as3commons.logging.level.
target.colors = {
DEBUG: 0x00FF00,
INFO: 0x00FFFF,
WARN: 0xFF0000,
ERROR: 0x0000FF,
FATAL: 0xFFFF00
};