0.1.8 • Published 9 years ago

logchop v0.1.8

Weekly downloads
36
License
-
Repository
-
Last release
9 years ago

LogChop

Add this to the very top of your Node.js web app...

require('logchop').start()

...and you'll magically get web app performance metrics.

How about timing some gnarly piece of code?

var logchop = require('logchop')
var event = logchop.event('Gnarly Code')

// gnarly code

event.stop()

What about an asynchronous function?

var logchop = require('logchop')

// do it from the outside by wrapping the callback
someAsyncMethod( logchop.event('My Asyc Method').until( function (err, result) {
})

// or do from the inside
function someAsyncMethod(callback) {
  callback = logchop.event('My Asyc Method').until(callback)
}
0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago