Skip to content

Instantly share code, notes, and snippets.

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