mmclassification/mmcls/utils/logger.py

9 lines
212 B
Python
Raw Normal View History

# Copyright (c) OpenMMLab. All rights reserved.
2020-05-21 21:21:43 +08:00
import logging
from mmcv.utils import get_logger
def get_root_logger(log_file=None, log_level=logging.INFO):
return get_logger('mmcls', log_file, log_level)