Log
You are viewing an old version of this entry, click here to see latest version.
class haxe.LogAvailable in flash, flash9, neko, js, php, cpp
static function clear() : Void
static function setColor( rgb : Int ) : VoidAvailable in flash, flash9Sets the color of the field that shows the log messages. The color is reseted to black (0x000000) after a Log.clear call.
Example:
This will display the traces "Some black text" (in black) and "Some white text" (in white). static function trace( v : Dynamic, ?infos : PosInfos ) : Void
Example:
Log.setColor(0xFFFFFF); Log.trace("Some white text"); Log.clear(); Log.trace("Some black text"); Log.setColor(0xFFFFFF); Log.trace("Some white text");
This will display the traces "Some black text" (in black) and "Some white text" (in white). static function trace( v : Dynamic, ?infos : PosInfos ) : Void
version #6922, modified 2009-08-31 15:15:42 by Dykam
0 comment