NDOJ/judge/logging.py

8 lines
124 B
Python
Raw Normal View History

2023-10-27 23:02:02 +00:00
import logging
error_log = logging.getLogger("judge.errors")
def log_exception(msg):
error_log.exception(msg)