mirror of
https://github.com/corca-ai/EVAL
synced 2024-11-01 03:20:10 +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)
|