Allow multiple arguments for the logging functions

This commit is contained in:
Mark Veidemanis 2019-10-13 12:40:16 +01:00
parent 5777ef0cfe
commit a64765121a
1 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
def log(data): def log(*data):
print("[LOG]", data) print("[LOG]", *data)
def warn(data): def warn(*data):
print("[WARNING]", data) print("[WARNING]", *data)
def error(data): def error(*data):
print("[ERROR]", data) print("[ERROR]", *data)