Skip to content

Instantly share code, notes, and snippets.

@hartym
Last active November 6, 2017 14:48
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 hartym/b1f9a2b6f281ca5b54e6c00206a01976 to your computer and use it in GitHub Desktop.
Save hartym/b1f9a2b6f281ca5b54e6c00206a01976 to your computer and use it in GitHub Desktop.
Hello, Mondrian
import logging
import mondrian
# One line setup (excepthook=True tells mondrian to handle uncaught exceptions)
mondrian.setup(excepthook=True)
# Use logging, as usual.
logger = logging.getLogger()
logger.setLevel(logging.INFO)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment