debug
Replace console.log for both nodejs and browser.
Usage
import { debug, debugForever } from '@michaelooo/debug';
const log = debug('hello');
const logError = debugForever('hello');
log('%o', { foo: 'bar' });
logError('%o', new Error('test'));