MCPcopy Create free account
hub / github.com/material-shell/material-shell / log

Method log

src/utils/debug.ts:49–55  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

47 }
48
49 static log(...args: any[]) {
50 if (!DEBUG || FOCUS_ONLY) return;
51 const fields = { MESSAGE: `${' '.repeat(indent)}${args.join(', ')}` };
52 const domain = 'Material Shell';
53
54 GLib.log_structured(domain, GLib.LogLevelFlags.LEVEL_MESSAGE, fields);
55 }
56
57 static logFocus(...args: any[]) {
58 if (!DEBUG) return;

Callers 1

logWithStackTraceMethod · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected