API Reference

Class List

Debug

Engine debug log system. Note that the logging only executes in the debug build of the engine, and is stripped out in other builds. It allows you to monitor logs from various engine systems.

Summary

Static Methods

errorOnce

Error message logged no more than once.

logOnce

Info message logged no more than once.

setTrace

Enable or disable trace channel

warnOnce

Warning message logged no more than once.

Details

Static Methods

errorOnce(message)

Error message logged no more than once.

Parameters

messagestring

The message to log.

logOnce(message)

Info message logged no more than once.

Parameters

messagestring

The message to log.

setTrace(channel, enabled)

Enable or disable trace channel

Parameters

channelstring

Name of the trace channel. Can be:

enabledboolean

new enabled state for it

warnOnce(message)

Warning message logged no more than once.

Parameters

messagestring

The message to log.

Constructor

Debug()