Add log steps to macOS/Windows

This commit is contained in:
Joe Rickerby
2020-11-13 16:30:35 +00:00
parent 246aa0848e
commit 38297e6663
4 changed files with 226 additions and 186 deletions
+9 -2
View File
@@ -1,7 +1,7 @@
import os
import time
import sys
import re
import sys
import time
from typing import Optional, Union
DEFAULT_FOLD_PATTERN = ('{name}', '')
@@ -142,6 +142,13 @@ class Logger:
return colors_disabled
'''
Global instance of the Logger.
'''
# (there's only one stdout per-process, so a global instance is justified)
log = Logger()
def build_description_from_identifier(identifier: str):
python_identifier, _, platform_identifier = identifier.partition('-')