MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / trace

Function trace

src/scripting/api/Function.js:6–12  ·  view source on GitHub ↗

* Global Functions * @description Functions defined in the global namespace.

(msg)

Source from the content-addressed store, hash-verified

4 **/
5
6function trace (msg) {
7 if (typeof msg === 'object') {
8 __trace(JSON.stringify(msg), 'log');
9 } else {
10 __trace(msg, 'log');
11 }
12}
13
14function load (library, onComplete) {
15 if (typeof Runtime === 'undefined' || Runtime === null) {

Callers

nothing calls this directly

Calls 1

__traceFunction · 0.85

Tested by

no test coverage detected