This commit is contained in:
shenjack 2023-10-25 06:21:19 +08:00
parent 767bfbd81d
commit bf1ae6a5ab
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -36,6 +36,7 @@ class BaseFormatter(Options):
for name, info in infos.items(): for name, info in infos.items():
cache += f"## {name}\n" cache += f"## {name}\n"
cache += info cache += info
cache += '\n'
return cache return cache
@classmethod @classmethod
@ -43,7 +44,6 @@ class BaseFormatter(Options):
info = cls.add_info('logger_name', 'logger name', 'The name of the logger') info = cls.add_info('logger_name', 'logger name', 'The name of the logger')
info += '\n' info += '\n'
info += cls.add_info('logger_tag', 'logger tag', 'The tag of the logger') info += cls.add_info('logger_tag', 'logger tag', 'The tag of the logger')
info += '\n'
return info return info
def format_message(self, def format_message(self,