We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f193597 commit 99ed727Copy full SHA for 99ed727
libioc/Logger.py
@@ -83,10 +83,6 @@ class Logger:
83
"white",
84
)
85
86
- RESET_SEQ = "\033[0m"
87
- BOLD_SEQ = "\033[1m"
88
- LINE_UP_SEQ = "\033[F"
89
-
90
LOG_LEVEL_SETTINGS: typing.Dict[
91
str,
92
typing.Dict[str, typing.Optional[
@@ -116,7 +112,7 @@ class Logger:
116
112
"screen"
117
113
118
114
119
- INDENT_PREFIX = " "
115
+ __INDENT_PREFIX = " "
120
121
PRINT_HISTORY: typing.List[LogEntry] = []
122
@@ -296,7 +292,7 @@ def _print_log_entry(self, log_entry: LogEntry) -> None:
296
292
297
293
298
294
def _indent(self, message: str, level: int) -> str:
299
- indent = Logger.INDENT_PREFIX * level
295
+ indent = Logger.__INDENT_PREFIX * level
300
return "\n".join(map(lambda x: f"{indent}{x}", message.splitlines()))
301
302
def _create_log_directory(self) -> None:
0 commit comments