MCPcopy Create free account
hub / github.com/MALSync/MALSync / logEr

Function logEr

test/headless/test.js:65–75  ·  view source on GitHub ↗
(block, text, indetion = 0)

Source from the content-addressed store, hash-verified

63}
64
65function logEr(block, text, indetion = 0) {
66 for (let i = 0; i <= indetion; i++) {
67 text = ` ${text}`;
68 }
69 if (mode.blockLog) {
70 if (!logBlocks[block]) logBlocks[block] = [];
71 logBlocks[block].push(text);
72 } else {
73 console.error(text);
74 }
75}
76
77function logC(block, text, indetion = 0, color = 'blue') {
78 let nColor = 0;

Callers 1

testPageCaseFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected