1 # Copyright (C) 2012 W. Trevor King <wking@tremily.us>
3 # This file is part of igor.
5 # igor is free software: you can redistribute it and/or modify it under the
6 # terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option) any
10 # igor is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 # A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with igor. If not, see <http://www.gnu.org/licenses/>.
18 "Interface for reading binary IGOR files."
23 import logging as _logging
26 LOG = _logging.getLogger('igor')
27 LOG.setLevel(_logging.ERROR)
28 LOG.addHandler(_logging.StreamHandler())
29 LOG.handlers[-1].setFormatter(
30 _logging.Formatter('%(name)s - %(levelname)s - %(message)s'))