Package | artcustomer.framework.debug.console |
Class | public class ConsoleLog |
Inheritance | ConsoleLog Object |
Method | Defined By | ||
---|---|---|---|
Constructor
| ConsoleLog | ||
add():void
Add Console to Stage. | ConsoleLog | ||
clear():void
Clear Console. | ConsoleLog | ||
destroy():void
Destroy ConsoleLog. | ConsoleLog | ||
[static]
Instantiate ConsoleLog. | ConsoleLog | ||
init():void
Init ConsoleLog. | ConsoleLog | ||
log(value:*, level:String = default, displayTime:Boolean = false, header:Boolean = false):void
Write data in Console. | ConsoleLog | ||
log(value:*, level:String = default, displayTime:Boolean = false, header:Boolean = false):void [static]
Write log in Console (static method). | ConsoleLog | ||
remove():void
Remove Console from Stage. | ConsoleLog | ||
resize(width:int, height:int):void
Set size to Console. | ConsoleLog | ||
setBounds(bounds:Rectangle):void
Set news bounds to Console. | ConsoleLog | ||
setFont(fontName:String, embed:Boolean = false):void
Set font name to text. | ConsoleLog | ||
space():void
Write space in Console. | ConsoleLog |
Constant | Defined By | ||
---|---|---|---|
LEVEL_DEBUG : String = debug [static] | ConsoleLog | ||
LEVEL_DEFAULT : String = default [static] | ConsoleLog | ||
LEVEL_ERROR : String = error [static] | ConsoleLog | ||
LEVEL_INFOS : String = infos [static] | ConsoleLog | ||
LEVEL_WARNING : String = warning [static] | ConsoleLog |
ConsoleLog | () | Constructor |
public function ConsoleLog()
Constructor
add | () | method |
public function add():void
Add Console to Stage.
clear | () | method |
public function clear():void
Clear Console.
destroy | () | method |
public function destroy():void
Destroy ConsoleLog.
getInstance | () | method |
init | () | method |
public function init():void
Init ConsoleLog. Set params before calling this method.
log | () | method |
public function log(value:*, level:String = default, displayTime:Boolean = false, header:Boolean = false):void
Write data in Console.
Parameters
value:* | |
level:String (default = default )
| |
displayTime:Boolean (default = false )
| |
header:Boolean (default = false )
|
log | () | method |
public static function log(value:*, level:String = default, displayTime:Boolean = false, header:Boolean = false):void
Write log in Console (static method).
Parameters
value:* | |
level:String (default = default )
| |
displayTime:Boolean (default = false )
| |
header:Boolean (default = false )
|
remove | () | method |
public function remove():void
Remove Console from Stage.
resize | () | method |
public function resize(width:int, height:int):void
Set size to Console.
Parameters
width:int | |
height:int |
setBounds | () | method |
public function setBounds(bounds:Rectangle):void
Set news bounds to Console.
Parameters
bounds:Rectangle |
setFont | () | method |
public function setFont(fontName:String, embed:Boolean = false):void
Set font name to text.
Parameters
fontName:String | |
embed:Boolean (default = false )
|
space | () | method |
public function space():void
Write space in Console.
LEVEL_DEBUG | Constant |
public static const LEVEL_DEBUG:String = debug
LEVEL_DEFAULT | Constant |
public static const LEVEL_DEFAULT:String = default
LEVEL_ERROR | Constant |
public static const LEVEL_ERROR:String = error
LEVEL_INFOS | Constant |
public static const LEVEL_INFOS:String = infos
LEVEL_WARNING | Constant |
public static const LEVEL_WARNING:String = warning