50e057a8ad3156882ae9a4813ca348097960b99e
[igor.git] / igor / __init__.py
1 # Copyright (C) 2012 W. Trevor King <wking@tremily.us>
2 #
3 # This file is part of igor.
4 #
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
8 # later version.
9 #
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
13 # details.
14 #
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/>.
17
18 "Interface for reading binary IGOR files."
19
20 __version__ = '0.2'
21
22
23 import logging as _logging
24
25
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'))