import logging | |
def get_logger(): | |
FORMAT = '%(asctime)s %(message)s' | |
logging.basicConfig(format=FORMAT) | |
logger = logging.getLogger('hf_logger') | |
return logger | |
import logging | |
def get_logger(): | |
FORMAT = '%(asctime)s %(message)s' | |
logging.basicConfig(format=FORMAT) | |
logger = logging.getLogger('hf_logger') | |
return logger | |