tokenizer-arena / utils /log_util.py
xu-song's picture
update
79b95c3
raw
history blame
No virus
238 Bytes
import logging
logging.basicConfig(
format='%(asctime)s - %(filename)s - %(levelname)s - %(process)d - %(thread)d - %(message)s',
datefmt="%Y-%m-%d %H:%M:%S",
)
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)