Are you an LLM? You can read better optimized documentation at /api/namespaces/Trace.md for this page in Markdown format
Namespaces
Classes
Functions
| Function | Description |
|---|
| addCategories | Adds categories to existing categories the module will trace. |
| addEventListener | - |
| addWriter | Adds a TraceWriter instance to the trace module. |
| clearWriters | Clears all the writers from the trace module. |
| disable | Disables the trace module. |
| enable | Enables the trace module. |
| error | Passes an error to the registered ErrorHandler |
| getErrorHandler | - |
| isCategorySet | Check if category is already set in trace module. |
| isEnabled | A function that returns whether the tracer is enabled and there is a point in writing messages. Check this to avoid writing complex string templates. Send error messages even if tracing is disabled. |
| notifyEvent | Notifies all the attached listeners for an event that has occurred in the sender object. |
| removeEventListener | - |
| removeWriter | Removes a TraceWriter instance from the trace module. |
| setCategories | Sets the categories the module will trace. |
| setErrorHandler | - |
| write | Writes a message using the available writers. |