logcharm

v0.0.1
logs request with a charm
logger middleware terminal

logcharm

logs request to a http server - with a charm

purpose

The target of logcharm is to provide a simple but beautiful logger.

It display the HTTP method, the requested URL, HTTP status code and the total request time. More things might follow.

how to install

npm install logcharm

how to use

var stack  = require('stack')
  , log    = require('./lib/logger')
  , http   = require('http')

var app = stack(
    log()
)

http.createServer(app).listen(80)

Yep, thats it!

Metadata

  • MIT
  • Whatever
  • Mark Schmale
  • released 9/5/2013

Downloads

Maintainers