@turbowarp/nanolog
v0.2.0
Published
`minilog` replacement for TurboWarp.
Downloads
860
Readme
@turbowarp/nanolog
minilog
replacement for TurboWarp.
- Extremely small: less than 1KB, no dependencies
- Does not use leading-zero octal literals (syntax error in strict mode)
- Does not interact with local storage, cookies, etc. (minilog does)
- Uses the default log styles from your browser; doesn't try to be smart
- No wrapper functions, so stack traces from your browser always point to the right spot
const nanolog = require('@turbowarp/nanolog');
const log = nanolog('renderer');
log.debug('debug');
log.info('info');
log.warn('warn');
log.error('error');