Separate out the logging functions
This commit is contained in:
12
utils/logging/log.py
Normal file
12
utils/logging/log.py
Normal file
@@ -0,0 +1,12 @@
|
||||
def log(data):
|
||||
print("[LOG]", data)
|
||||
|
||||
def debug(data):
|
||||
print("[DEBUG]", data)
|
||||
|
||||
def warn(data):
|
||||
print("[WARNING]", data)
|
||||
|
||||
def error(data):
|
||||
print("[ERROR]", data)
|
||||
exit(1)
|
||||
Reference in New Issue
Block a user