Improve output formatting

Github annotations require all output to be on a single line, so let's
make the log messages do that
This commit is contained in:
Joe Rickerby
2021-01-05 19:02:15 +00:00
parent 0df5e1295f
commit ffba89dc64
3 changed files with 13 additions and 11 deletions
+4
View File
@@ -124,6 +124,8 @@ class Logger:
c = self.colors
print(f'{c.yellow}Warning{c.end} {message}')
print()
def error(self, error: Union[BaseException, str]) -> None:
print()
@@ -133,6 +135,8 @@ class Logger:
c = self.colors
print(f'{c.bright_red}Error{c.end} {error}')
print()
def _start_fold_group(self, name: str) -> None:
self._end_fold_group()
self.active_fold_group_name = name