Skip to content

Instantly share code, notes, and snippets.

@samstokes samstokes/loggily.js
Created Aug 17, 2011

Embed
What would you like to do?
Example of scheduling code loggily
// no annotation
setTimeout(function () { /* something that blows up horribly */ }, 1000);
// annotated, behaves identically unless it blows up
setTimeout(loggily("doing something hairy", function () { /* something that blows up horribly */ }), 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.