Log tracing functionality, allowing for tracing of the internal functionality of the engine. Note that the trace logging only takes place in the debug build of the engine and is stripped out in other builds.

Properties

Methods

Properties

_traceChannels: Set<string> = ...

Set storing the names of enabled trace channels.

stack: boolean = false

Enable call stack logging for trace calls. Defaults to false.

Methods

  • Test if the trace channel is enabled.

    Parameters

    • channel: string

      Name of the trace channel.

    Returns boolean

    • True if the trace channel is enabled.