mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
GODOT: log message prettyfication
This commit is contained in:
parent
c411ffb968
commit
10c4f28e9e
|
@ -122,16 +122,16 @@ func logger(log_type: String, log_text: String) -> void:
|
||||||
|
|
||||||
match log_type:
|
match log_type:
|
||||||
'w':
|
'w':
|
||||||
log_line += "[Warning] " + log_header
|
log_line += " [WANRING] " + log_header
|
||||||
# print("Warning, mate")
|
# print("Warning, mate")
|
||||||
'e':
|
'e':
|
||||||
log_line += "[Error] " + log_header
|
log_line += " [ERROR] " + log_header
|
||||||
# print("Error, mate")
|
# print("Error, mate")
|
||||||
'i':
|
'i':
|
||||||
log_line += "[Info] " + log_header
|
log_line += " [INFO] " + log_header
|
||||||
# print("Info, mate")
|
# print("Info, mate")
|
||||||
'd':
|
'd':
|
||||||
log_line += "[Debug] " + log_header
|
log_line += " [DEBUG] " + log_header
|
||||||
# print("Debug, mate")
|
# print("Debug, mate")
|
||||||
_:
|
_:
|
||||||
log_line += " " + log_header
|
log_line += " " + log_header
|
||||||
|
|
Loading…
Reference in a new issue