Tools / logger.py
ZackBradshaw's picture
Upload folder using huggingface_hub
e67043b verified
raw
history blame
203 Bytes
import logging
logger = logging.getLogger()
formatter = logging.Formatter("%(message)s")
ch = logging.StreamHandler()
ch.setFormatter(formatter)
logger.addHandler(ch)
logger.setLevel(logging.DEBUG)