Accessed via FlxG.log.

Variables

@:value(false)redirectTraces:Bool = false

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

Methods

inlineadd(data:Dynamic):Void

@:value({ fireOnce : false })advanced(data:Dynamic, ?style:LogStyle, 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().

Parameters:

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

inlineclear():Void

Clears the log output.

inlineerror(data:Dynamic):Void

inlinenotice(data:Dynamic):Void

inlinewarn(data:Dynamic):Void