From b6e6546bd7271f29d868ae5c5b10696d1948b98c Mon Sep 17 00:00:00 2001 From: "ry.yamafuji" Date: Fri, 5 Dec 2025 00:52:51 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E6=95=B0=E3=81=AE=E5=88=B6=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/custom_logger.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/custom_logger.py b/src/utils/custom_logger.py index 9a25dca..65d5b39 100644 --- a/src/utils/custom_logger.py +++ b/src/utils/custom_logger.py @@ -6,9 +6,8 @@ from .singleton import Singleton class CustomLogger(Singleton): """ - Singleton logger class that initializes a logger with a specified name and log file. - It provides a method to log entry and exit of functions. - + Singleton logger class that initializes a logger with a specified name + and log file.It provides a method to log entry and exit of functions. """ def __init__(self, name="main", log_file=None, level=logging.INFO): @@ -22,7 +21,8 @@ class CustomLogger(Singleton): self.logger.propagate = False formatter = logging.Formatter( - "%(asctime)s %(levelname)s [%(filename)s:%(lineno)3d]: %(message)s" + "%(asctime)s %(levelname)s " + "[%(filename)s:%(lineno)3d]: %(message)s" ) # Console handler