npm.io
0.0.0 • Published 11 years ago

isdk-logger

Licence
MIT
Version
0.0.0
Deps
5
Vulns
0
Weekly
0

terminal-logger npm

Build Status Code Climate Test Coverage downloads license

Terminal-logger prints the message to the console.

All logs are done against STDERR, letting you stdout for meaningfull value and redirection, should you need to generate output this way.

  • Customize colorful status
  • Single-line update

Usage

logger  = require 'terminal-logger'

Single-line update:

log = require('terminal-logger/lib/single-line')()
dot = '.'
singleLineLog = ->
   dot = dot.replace('.', '..')
   log.info("update:", dot)
   setTimeout(singleLineLog, 500)
singleLineLog()

API

TODO

License

MIT

Keywords