From bf1ae6a5ab4035a38ce3fa95cecf214293559f57 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Wed, 25 Oct 2023 06:21:19 +0800 Subject: [PATCH] Fixed --- lib_not_dr/logger/formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_not_dr/logger/formatter.py b/lib_not_dr/logger/formatter.py index 58c365c..4d5ded8 100644 --- a/lib_not_dr/logger/formatter.py +++ b/lib_not_dr/logger/formatter.py @@ -36,6 +36,7 @@ class BaseFormatter(Options): for name, info in infos.items(): cache += f"## {name}\n" cache += info + cache += '\n' return cache @classmethod @@ -43,7 +44,6 @@ class BaseFormatter(Options): info = cls.add_info('logger_name', 'logger name', 'The name of the logger') info += '\n' info += cls.add_info('logger_tag', 'logger tag', 'The tag of the logger') - info += '\n' return info def format_message(self, @@ -158,7 +158,7 @@ class StdFormatter(BaseFormatter): name = 'StdFormatter' sub_formatter = [TimeFormatter(), LevelFormatter()] - + @classmethod def _info(cls) -> str: return ''