Skip to content

Instantly share code, notes, and snippets.

@andscoop
Created November 15, 2017 19:02
Show Gist options
  • Save andscoop/f76567e80299606149788c13776e4bf1 to your computer and use it in GitHub Desktop.
Save andscoop/f76567e80299606149788c13776e4bf1 to your computer and use it in GitHub Desktop.
simple method for logging
def log(**kwargs):
print(json.dumps(kwargs))
log(articleId='test_article', message='this is a message')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment