Skip to content

Instantly share code, notes, and snippets.

@paulakreuger
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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