(block, text, indetion = 0)
| 63 | } |
| 64 | |
| 65 | function 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 | |
| 77 | function logC(block, text, indetion = 0, color = 'blue') { |
| 78 | let nColor = 0; |