MCPcopy
hub / github.com/Koenkk/zigbee2mqtt / debug

Method debug

lib/util/logger.ts:214–220  ·  view source on GitHub ↗
(messageOrLambda: string | (() => string), namespace = "z2m")

Source from the content-addressed store, hash-verified

212 }
213
214 public debug(messageOrLambda: string | (() => string), namespace = "z2m"): void {
215 if (this.debugNamespaceIgnoreRegex?.test(namespace)) {
216 return;
217 }
218
219 this.log("debug", messageOrLambda, namespace);
220 }
221
222 // Cleanup any old log directory.
223 private cleanup(): void {

Callers 15

cleanupMethod · 0.95
wrappedCallbackMethod · 0.80
connectMethod · 0.80
onMessageMethod · 0.80
startMethod · 0.80
loadMethod · 0.80
saveMethod · 0.80
initSdNotifyFunction · 0.80
onMQTTMessageMethod · 0.80
onMQTTMessageMethod · 0.80
changeEntityOptionsMethod · 0.80
onZigbeeEventMethod · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected