mirror of
https://github.com/corca-ai/EVAL
synced 2024-10-30 09:20:44 +00:00
9 lines
188 B
Python
9 lines
188 B
Python
import logging
|
|
from env import settings
|
|
|
|
logger = logging.getLogger("EVAL")
|
|
if settings["LOG_LEVEL"] == "DEBUG":
|
|
logger.setLevel(logging.DEBUG)
|
|
else:
|
|
logger.setLevel(logging.INFO)
|