Commit 5375c947 authored by W. Trevor King's avatar W. Trevor King
Browse files

Add igor.LOG for easier debugging.

parent 11db2c41
......@@ -3,3 +3,13 @@
"Interface for reading binary IGOR files."
__version__ = '0.2'
import logging as _logging
LOG = _logging.getLogger('igor')
LOG.setLevel(_logging.ERROR)
LOG.addHandler(_logging.StreamHandler())
LOG.handlers[-1].setFormatter(
_logging.Formatter('%(name)s - %(levelname)s - %(message)s'))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment