Logger - Library

324 Downloads

After installing this addon, you can use the following functions in your addons to properly send messages to the built-in LogWindow.

Log.Error(category:String, message:Object)

Log.Warning(category:String, message:Object)

To use these you must use the following import:

import com.GameInterface.Log;

You can view messages sent through these commands by loading the LogWindow that comes with SWL.  Use the following command:

/loadclip LogWindow.swf

This display is real-time.