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