Cons

Source: cons.ts:5

Console logging singleton object.


Constructor

new Cons(): Cons

Instance Methods

show()

Show console panel.

hide()

Hide console panel.

logErr(str: string)

Adds error text in the console.

Parameters

  • str (string) — Error text.

logWrn(str: string)

Adds warning text in the console.

Parameters

  • str (string) — Warning text.

log(str: string)

Adds log text in the console.

Parameters

  • str (string) — Log text.