MCPcopy Create free account
hub / github.com/cli-table/cli-table3 / debug

Function debug

src/debug.js:4–8  ·  view source on GitHub ↗
(msg, min)

Source from the content-addressed store, hash-verified

2let level = 0;
3
4const debug = (msg, min) => {
5 if (level >= min) {
6 messages.push(msg);
7 }
8};
9
10debug.WARN = 1;
11debug.INFO = 2;

Callers 4

drawMethod · 0.85
drawMethod · 0.85
fillInTableFunction · 0.85
debug.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…