Skip to content

Commit

Permalink
Remove obsolete logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Mar 20, 2024
1 parent 0dc225b commit d64790f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions xarrayfits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,4 @@
__email__ = "[email protected]"
__version__ = "0.2.1"

import logging


def __create_logger():
# Console formatter, mention name
cfmt = logging.Formatter("%(name)s - %(levelname)s - %(message)s")

# Console handler
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)
ch.setFormatter(cfmt)

logger = logging.getLogger("xarray-fits")
logger.handlers = []
logger.setLevel(logging.DEBUG)
logger.addHandler(ch)
logger.propagate = False

return logger


log = __create_logger()

from xarrayfits.fits import xds_from_fits # noqa

0 comments on commit d64790f

Please sign in to comment.