NDOJ/judge/logging.py
2023-10-27 18:02:02 -05:00

7 lines
124 B
Python

import logging
error_log = logging.getLogger("judge.errors")
def log_exception(msg):
error_log.exception(msg)