Namespaces
Trace
Summary
Namespaces
Functions
addCategories
defined in @nativescript/core/trace/index.d.ts:68:1
Adds categories to existing categories the module will trace.
Returns void
addEventListener
addEventListener(listener: TraceEventListener): void
addWriter
addWriter(writer: TraceWriter): void
defined in @nativescript/core/trace/index.d.ts:45:1
Adds a TraceWriter instance to the trace module.
Returns void
clearWriters
defined in @nativescript/core/trace/index.d.ts:56:1
Clears all the writers from the trace module.
Returns void
disable
enable
error
defined in @nativescript/core/trace/index.d.ts:145:1
Passes an error to the registered ErrorHandler
Returns void
getErrorHandler
getErrorHandler(): TraceErrorHandler
defined in @nativescript/core/trace/index.d.ts:137:1
Returns TraceErrorHandler
isCategorySet
defined in @nativescript/core/trace/index.d.ts:74:1
Check if category is already set in trace module.
Returns boolean
isEnabled
defined in @nativescript/core/trace/index.d.ts:39:1
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.
Returns boolean
notifyEvent
defined in @nativescript/core/trace/index.d.ts:90:1
Notifies all the attached listeners for an event that has occurred in the sender object.
Returns void
removeEventListener
removeEventListener(listener: TraceEventListener): void
removeWriter
removeWriter(writer: TraceWriter): void
defined in @nativescript/core/trace/index.d.ts:51:1
Removes a TraceWriter instance from the trace module.
Returns void
setCategories
defined in @nativescript/core/trace/index.d.ts:62:1
Sets the categories the module will trace.
Returns void
setErrorHandler
setErrorHandler(handler: TraceErrorHandler): void
write
defined in @nativescript/core/trace/index.d.ts:82:1
Writes a message using the available writers.
Returns void
- Previous
- TouchAction
- Next
- Utils