Tune-Splitter / log.py
CCockrum's picture
Update log.py
b8028cf verified
raw
history blame
218 Bytes
# log.py
import logging
logger = logging.getLogger("audio_splitter")
logger.setLevel(logging.INFO)
ch = logging.StreamHandler()
ch.setFormatter(logging.Formatter("[%(levelname)s] %(message)s"))
logger.addHandler(ch)