class flixel.system.frontEnds.LogFrontEnd

Available on all platforms

Instance Fields

var redirectTraces:Bool

Whether everything you trace() is being redirected into the log window.

function add(Data:Dynamic):Void

function advanced(Data:Dynamic, ?Style:LogStyle = null, ?FireOnce:Bool = false):Void

Add an advanced log message to the debugger by also specifying a LogStyle. Backend to FlxG.log.add(), FlxG.log.warn(), FlxG.log.error() and FlxG.log.notice(). * *

Data

Any Data to log. *

Style

The LogStyle to use, for example LogStyle.WARNING. You can also create your own by importing the LogStyle class. *

FireOnce

Whether you only want to log the Data in case it hasn't been added already

function clear():Void

Clears the log output.

function error(Data:Dynamic):Void

function notice(Data:Dynamic):Void

function warn(Data:Dynamic):Void