Skip to content

Instantly share code, notes, and snippets.

@csquared
Created July 30, 2013 01:09
Show Gist options
  • Save csquared/6109350 to your computer and use it in GitHub Desktop.
Save csquared/6109350 to your computer and use it in GitHub Desktop.
var logfmt = require('./logfmt');
myTimelyFunction = function(done) {
logfmt.log({ "foo": "bar", "a": 14, baz: 'hello kitty'})
done('timely_function');
}
logfmt.time(myTimelyFunction);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment