Add more outputs
This commit is contained in:
parent
5023dadc4e
commit
e54c7f80bf
|
@ -4,8 +4,12 @@ import time
|
||||||
def print_log(source, message):
|
def print_log(source, message):
|
||||||
if source == "Main":
|
if source == "Main":
|
||||||
print('\033[92m' + source + ': \033[0m' + message)
|
print('\033[92m' + source + ': \033[0m' + message)
|
||||||
elif source == "Notice" or source == "Warning":
|
elif source == "Notice":
|
||||||
print('\033[93m' + source + ': \033[0m' + message)
|
print('\033[93m' + source + ': \033[0m' + message)
|
||||||
|
elif source == "Warning":
|
||||||
|
print('\033[91m' + source + ': \033[0m' + message)
|
||||||
|
elif source == "Web":
|
||||||
|
print('\033[95m' + source + ': \033[0m' + message)
|
||||||
else:
|
else:
|
||||||
print('\033[94m' + source + ': \033[0m' + message)
|
print('\033[94m' + source + ': \033[0m' + message)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue