0.0.0 • Published 9 years ago

isdk-logger v0.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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