[Index] Tweak how log is set globally
This commit is contained in:
parent
e28fc5864b
commit
fad51056a4
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
const log = (area, ...args) => console.log(`[\x1B[38;2;88;101;242mOpenAsar\x1B[0m > ${area}]`, ...args);
|
const log = 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 = log; // Make log global for easy usage everywhere
|
|
||||||
|
|
||||||
global.oaVersion = 'nightly';
|
global.oaVersion = 'nightly';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue