Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 587 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 587 Bytes

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