0.0.1 • Published 3 years ago
@michaelooo/debug v0.0.1
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'));
0.0.1
3 years ago