logger file

This commit is contained in:
Divided by Zer0
2022-09-11 22:59:19 +02:00
parent 432af79fa5
commit ce2d1ff654
2 changed files with 30 additions and 1 deletions

View File

@ -17,8 +17,14 @@ os.environ['TOKENIZERS_PARALLELISM'] = 'false'
from eventlet import tpool
import logging
from loguru import logger
from logger import logger
logger.generation("This is a generation message")
logger.debug("That's it, beautiful and simple logging!")
logger.info("That's it, beautiful and simple logging!")
logger.error("That's it, beautiful and simple logging!")
logger.critical("That's it, beautiful and simple logging!")
logging.getLogger("urllib3").setLevel(logging.ERROR)
from os import path, getcwd