Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
All logger target implementations that have a formatted line style output
should extend this class.
It provides default behavior for including date, time, category, and level
within the output.
public var fieldSeparator:String =
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The separator string to use between fields (the default is " ")
public var includeCategory:Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Indicates if the category for this target should added to the trace.
public var includeDate:Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Indicates if the date should be added to the trace.
public var includeLevel:Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Indicates if the level for the event should added to the trace.
public var includeTime:Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Indicates if the time should be added to the trace.
public function LineFormattedTarget()
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Constructs an instance of a logger target that will format
the message data on a single line.
override public function logEvent(event:LogEvent):void
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
This method handles a LogEvent
from an associated logger.
A target uses this method to translate the event into the appropriate
format for transmission, storage, or display.
This method is called only if the event's level is in range of the
target's level.
Parameters
| event:LogEvent — The LogEvent handled by this method.
|
Mon Jul 9 2012, 07:18 PM -04:00