Skip to content

Instantly share code, notes, and snippets.

@paulakreuger
Last active August 29, 2015 13:57
Show Gist options
  • Save paulakreuger/9779498 to your computer and use it in GitHub Desktop.
Save paulakreuger/9779498 to your computer and use it in GitHub Desktop.
Console Log Function
function log(msg) {
try {
if (typeof console !== 'undefined' && typeof console.log !== 'undefined') {
console.log(msg);
}
} catch (e) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment