MCPcopy
hub / github.com/smapiot/piral / logDebug

Function logDebug

src/tooling/piral-cli/src/common/log.ts:26–34  ·  view source on GitHub ↗
(message: string, ...args: Array<string | number | boolean>)

Source from the content-addressed store, hash-verified

24}
25
26export function logDebug(message: string, ...args: Array<string | number | boolean>) {
27 const msg = format(message, ...args);
28
29 if (logLevel >= LogLevels.debug) {
30 instance.info(msg);
31 }
32
33 return msg;
34}
35
36export function logVerbose(message: string, ...args: Array<string | number | boolean>) {
37 const msg = format(message, ...args);

Callers 1

logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected