forked from mirror/Archipelago
Compare commits
2 Commits
0.6.2-rc3
...
core_dyn_l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc8de5696b | ||
|
|
29591f614d |
2
Utils.py
2
Utils.py
@@ -482,7 +482,7 @@ def get_text_after(text: str, start: str) -> str:
|
||||
return text[text.index(start) + len(start):]
|
||||
|
||||
|
||||
loglevel_mapping = {'error': logging.ERROR, 'info': logging.INFO, 'warning': logging.WARNING, 'debug': logging.DEBUG}
|
||||
loglevel_mapping: dict[str, int] = {name.lower(): level for name, level in logging.getLevelNamesMapping().items()}
|
||||
|
||||
|
||||
def init_logging(name: str, loglevel: typing.Union[str, int] = logging.INFO, write_mode: str = "w",
|
||||
|
||||
Reference in New Issue
Block a user