Allow multiple arguments for the logging functions
This commit is contained in:
parent
5777ef0cfe
commit
a64765121a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue