class LogStyle
package flixel.system.debug.log
A class that allows you to create a custom style for FlxG.log.advanced(). Also used internally for the pre-defined styles.
Static variables
Constructor
new(Prefix:String = "", Color:String = "FFFFFF", Size:Int = 12, Bold:Bool = false, Italic:Bool = false, Underlined:Bool = false, ?ErrorSound:String, OpenConsole:Bool = false, ?CallbackFunction:() ‑> Void)
Create a new LogStyle to be used in conjunction with FlxG.log.advanced()
Parameters:
Prefix | A prefix which is always attached to the start of the logged data. |
---|---|
Color | The text color. |
Size | The text size. |
Bold | Whether the text is bold or not. |
Italic | Whether the text is italic or not. |
Underlined | Whether the text is underlined or not. |
ErrorSound | A sound to be played when this LogStyle is used. |
OpenConsole | Whether the console should be forced to open when this LogStyle is used. |
CallbackFunction | A callback function that is called when this LogStyle is used. |