Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ clearWriters
Function
clearWriters
packages/core/trace/index.ts:75–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
73
* Clears all the writers from the trace module.
74
*/
75
export
function
clearWriters() {
76
if
(_writers.length > 0) {
77
_writers.splice(0, _writers.length);
78
}
79
}
80
81
/**
82
* Sets the categories the module will trace.
Callers
nothing calls this directly
Calls
1
splice
Method · 0.80
Tested by
no test coverage detected