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");

[/doc s_setColor]
[/field]

static function trace( v : Dynamic, ?infos : PosInfos ) : Void
version #6912, modified 2009-08-31 04:44:44 by Greeny
0 comment