MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / log

Function log

packages/core/profiling/index.ts:11–16  ·  view source on GitHub ↗
(message: string, ...optionalParams: any[])

Source from the content-addressed store, hash-verified

9}
10
11export function log(message: string, ...optionalParams: any[]): void {
12 if (global.__nslog) {
13 global.__nslog('CONSOLE LOG: ' + message);
14 }
15 console.log(message, ...optionalParams);
16}
17
18export type InstrumentationMode = 'counters' | 'timeline' | 'lifecycle';
19

Callers 1

traceFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected