Skip to content

Instantly share code, notes, and snippets.

@pellekrogholt
Created February 28, 2014 10:24
Show Gist options
  • Save pellekrogholt/9268693 to your computer and use it in GitHub Desktop.
Save pellekrogholt/9268693 to your computer and use it in GitHub Desktop.
return {
'debug': log_debug(msg),
'info': log_debug(msg),
'warning': log_warning(msg),
'error': log_error(msg),
'critical': log_critical(msg)
}[log_level]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment