Tracing
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.
Summary
Static Methods
get | Test if the trace channel is enabled. |
set | Enable or disable a trace channel. |
Properties
stack | Enable call stack logging for trace calls. |
Details
Static Methods
get(channel)
Test if the trace channel is enabled.
Parameters
channel | string | Name of the trace channel. |
Returns
boolean- True if the trace channel is enabled.
set(channel, enabled)
Enable or disable a trace channel.
Parameters
channel | string | Name of the trace channel. Can be:
|
enabled | boolean | New enabled state for the channel. |