def log_warning(exc_info=None):
    _log_exc_info(exc_info, level=logging.WARNING)
Logs exc_info into 'exception' and 'traceback' logs with WARNING level.
dataset/ETHPy150Open isagalaev/django_errorlog/django_errorlog/utils.py/log_warning