Colorful Node.js logging
Use @generates/logger instead.
pnpm add @ianwalter/print
Basic usage:
const { print } = require('@ianwalter/print')
print.info('Done in 0.91s.') // => 💁 Done in 0.91s.
Using debug / namespacing:
export DEBUG="app.*"
const { createPrint } = require('@ianwalter/print')
const print = createPrint({ level: 'info' })
// Will not be printed:
print.debug('Hello!')
// Will be printed:
print.ns('app.test').debug('Flaky test started.') // => 🐛 Flaky test started.
Hippocratic License - See LICENSE
Created by Ian Walter