[Index] Tweak log

This commit is contained in:
Ducko 2022-04-27 19:37:38 +01:00
parent e7761a6b43
commit b8d8d81405

View file

@ -1,6 +1,6 @@
const { join } = require('path');
global.log = (area, ...args) => console.log(`[\x1B[38;2;88;101;242mOpenAsar\x1B[0m > ${area}]`, ...args); // Make log global for easy usage everywhere
global.log = (area, ...args) => console.log(`[\x1b[38;2;88;101;242mOpenAsar\x1b[0m > ${area}]`, ...args); // Make log global for easy usage everywhere
global.oaVersion = 'nightly';