π Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
fix: fixed issue #554
SWHLdec60563b462
diff --git a/python/rapidocr/utils/log.py b/python/rapidocr/utils/log.pyindex 036c996..9897aca 100644--- a/python/rapidocr/utils/log.py+++ b/python/rapidocr/utils/log.py@@ -13,7 +13,7 @@ class Logger:self.logger.propagate = Falseformatter = colorlog.ColoredFormatter(- "%(log_color)s[%(levelname)s] %(asctime)s [RapidOCR] %(filename)s:%(lineno)d: %(message)s",+ f"%(log_color)s[%(levelname)s] %(asctime)s [{logger_name}] %(filename)s:%(lineno)d: %(message)s",log_colors={"DEBUG": "cyan","INFO": "green",@@ -37,4 +37,4 @@ class Logger:return self.logger-logger = Logger(log_level=logging.INFO).get_log()+logger = Logger(log_level=logging.INFO, logger_name="RapidOCR").get_log()