| Package | com.daveoncode.logging.ui |
| Class | public class LogWindow |
| Inheritance | LogWindow mx.core.Window |
var lw:LogWindow = new LogWindow();
lw.logFile = File.applicationStorageDirectory.resolvePath("myApp.log");
lw.dateFormat = "DD/MM/YY";
lw.title = "Application logs";
lw.width = 800;
lw.height = 600;
lw.open(true);
| Property | Defined by | ||
|---|---|---|---|
| categoryLabel : String Label used for the category filter field
| LogWindow | ||
| clearFiltersLabel : String
Label used for clear filters button
| LogWindow | ||
| dateLabel : String
Label used for date filter field
| LogWindow | ||
| gridColumns : Vector
An Array of DataGrid columns
| LogWindow | ||
| labelSeparator : String
A string used after the label
| LogWindow | ||
| levelLabel : String
Label used for log level filter combo
| LogWindow | ||
| logReader : LogReader
[read-only]
A reference to the LogReader instance used by LogWindow
| LogWindow | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor function of LogWindow class
| LogWindow | ||
| Method | Defined by | ||
|---|---|---|---|
|
createChildren():void
Creates and displays all interface's components (toolbar and grid)
| LogWindow | ||
| categoryLabel | property |
categoryLabel:String [read-write]Label used for the category filter field
Implementation public function get categoryLabel():String
public function set categoryLabel(value:String):void
| clearFiltersLabel | property |
clearFiltersLabel:String [read-write]Label used for clear filters button
Implementation public function get clearFiltersLabel():String
public function set clearFiltersLabel(value:String):void
| dateLabel | property |
dateLabel:String [read-write]Label used for date filter field
Implementation public function get dateLabel():String
public function set dateLabel(value:String):void
| gridColumns | property |
gridColumns:Vector [read-write]An Array of DataGrid columns
Implementation public function get gridColumns():Vector
public function set gridColumns(value:Vector):void
| labelSeparator | property |
labelSeparator:String [read-write]A string used after the label
The default value is ": ".
public function get labelSeparator():String
public function set labelSeparator(value:String):void
| levelLabel | property |
levelLabel:String [read-write]Label used for log level filter combo
Implementation public function get levelLabel():String
public function set levelLabel(value:String):void
| logReader | property |
logReader:LogReader [read-only]A reference to the LogReader instance used by LogWindow
Implementation public function get logReader():LogReader
| LogWindow | () | constructor |
public function LogWindow()Constructor function of LogWindow class
| createChildren | () | method |
protected override function createChildren():voidCreates and displays all interface's components (toolbar and grid)