log-utils
log-utils copied to clipboard
`log-utils` clashes with `eazy-logger` because it changes the system `console.log` function
I added log-utils
to my gulp tasks and browser-sync
stopped working with the following error:
eazy-logger/index.js:224
console.log.apply(console, args);
^
TypeError: console.log.apply is not a function
I console.logged console.log
and, well, it is not a function once I imported log-utils
:
{ error: [Getter],
info: [Getter],
success: [Getter],
warning: [Getter],
timestamp: [Getter],
ok: [Function],
heading: [Function] }
Without log-utils
it returns:
[Function: bound consoleCall]
I guess this situation is quite rare considering that I couldn't google anything that would help me to trace the issue. So it'd better be logged somewhere.