Fixed
This commit is contained in:
parent
767bfbd81d
commit
bf1ae6a5ab
@ -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,
|
||||||
@ -158,7 +158,7 @@ class StdFormatter(BaseFormatter):
|
|||||||
name = 'StdFormatter'
|
name = 'StdFormatter'
|
||||||
|
|
||||||
sub_formatter = [TimeFormatter(), LevelFormatter()]
|
sub_formatter = [TimeFormatter(), LevelFormatter()]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _info(cls) -> str:
|
def _info(cls) -> str:
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
Reference in New Issue
Block a user