MCPcopy Index your code
hub / github.com/MALSync/MALSync / log

Function log

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

Source from the content-addressed store, hash-verified

51
52const logBlocks = {};
53function log(block, text, indetion = 0) {
54 for (let i = 0; i <= indetion; i++) {
55 text = ` ${text}`;
56 }
57 if (mode.blockLog) {
58 if (!logBlocks[block]) logBlocks[block] = [];
59 logBlocks[block].push(text);
60 } else {
61 console.log(text);
62 }
63}
64
65function logEr(block, text, indetion = 0) {
66 for (let i = 0; i <= indetion; i++) {

Callers 4

logCFunction · 0.85
PreparePageFunction · 0.85
singleCaseFunction · 0.85
testPageCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected