class flixel.system.debug.Log extends Window

Available on all platforms

A simple trace output window for use in the debugger overlay.

Class Fields

static var MAX_LOG_LINES:Int

Instance Fields

function new():Void

Creates a log window object.

function add(Data:Array<Dynamic>, Style:LogStyle, ?FireOnce:Bool = false):Bool

Adds a new line to the log window. *

Data

The data being logged. *

Style

The LogStyle to be used for the log *

FireOnce

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

function clear():Void

function destroy():Void

Clean up memory.