From a64765121a8b5b88923b1584553d420491f230ad Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 13 Oct 2019 12:40:16 +0100 Subject: [PATCH] Allow multiple arguments for the logging functions --- utils/logging/log.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/logging/log.py b/utils/logging/log.py index 6bb6a99..67b2148 100644 --- a/utils/logging/log.py +++ b/utils/logging/log.py @@ -1,8 +1,8 @@ -def log(data): - print("[LOG]", data) +def log(*data): + print("[LOG]", *data) -def warn(data): - print("[WARNING]", data) +def warn(*data): + print("[WARNING]", *data) -def error(data): - print("[ERROR]", data) +def error(*data): + print("[ERROR]", *data)