b8028cf 05b6baf b8028cf 05b6baf b8028cf
1
2
3
4
5
6
7
8
9
10
# 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)