9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Namespaces

NamespaceDescription
categoriesall predefined categories.
messageType-

Classes

ClassDescription
ConsoleWriterAn interface used to define a writer used by trace to print (log).
DefaultErrorHandlerAn interface used to for handling trace error

Functions

FunctionDescription
addCategoriesAdds categories to existing categories the module will trace.
addEventListener-
addWriterAdds a TraceWriter instance to the trace module.
clearWritersClears all the writers from the trace module.
disableDisables the trace module.
enableEnables the trace module.
errorPasses an error to the registered ErrorHandler
getErrorHandler-
isCategorySetCheck if category is already set in trace module.
isEnabledA 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.
notifyEventNotifies all the attached listeners for an event that has occurred in the sender object.
removeEventListener-
removeWriterRemoves a TraceWriter instance from the trace module.
setCategoriesSets the categories the module will trace.
setErrorHandler-
writeWrites a message using the available writers.
Previous
parse