Update src/utils/utils.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Este cometimento está contido em:
1 ascendente
f6d996b085
cometimento
8e45cc897f
1 ficheiro modificado
+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):
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador