@turbowarp/nanolog

0.2.0 • Public • Published

@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');

Readme

Keywords

none

Package Sidebar

Install

npm i @turbowarp/nanolog

Weekly Downloads

540

Version

0.2.0

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • garbomuffin