Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 284 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 284 Bytes

@compositor/log

Logging utility for CLIs

npm i @compositor/log
const log = require('@compositor/log')

log.name = 'app'

log('hello')

log.error('whoops!')

log.start('processing something...')

setTimeout(() => {
  log.stop('bye bye')
}, 1000)

MIT License