Update src/utils/utils.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
f6d996b085
υποβολή
8e45cc897f
1 file changed
+4
-1
@@ -77,7 +77,10 @@ def console_debug(*argv):
|
||||
|
||||
|
||||
def console_warning(msg: str):
|
||||
logging.warning(msg)
|
||||
if len(argv) > 1:
|
||||
logging.warning(f"[{argv[0]}] {argv[1]}")
|
||||
else:
|
||||
logging.warning(f"{argv[0]}")
|
||||
|
||||
|
||||
def trace_logger(message, *args, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user