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
[field]static function setColor( rgb : Int ) : VoidAvailable in flash, flash9[doc s_setColor]
Sets the color of the field that shows the log messages. The color is reseted to black (0x000000) after a Log.clear call.
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).
[/doc s_setColor]
[/field]
version #6916, modified 2009-08-31 04:49:56 by Greeny
0 comment