Prefixed all Escoria console output with 'ESC' (#591)

Co-authored-by: Mathieu Bergounioux <Mathieu.Bergounioux@sectra.com>
This commit is contained in:
Julian Murgia
2022-05-01 12:45:44 +02:00
committed by GitHub
parent 7aeb8ca95f
commit d255f781ec
3 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ func _draw():
var mouse_limits: Rect2 = get_viewport_rect().grow(
-mouse_tooltip_margin
)
print(mouse_limits)
print("ESC {0}".format([mouse_limits]))
# Draw lines for tooltip limits
draw_rect(mouse_limits, ColorN("red"), false, 10.0)

View File

@@ -262,7 +262,7 @@ func report_errors(p_path: String, errors: Array) -> void:
# * message: Message to log
# * err: if true, write in stderr
func _log(message:String, err: bool = false):
message = "{0} {1}".format([_formatted_date(), message])
message = "ESC {0} {1}".format([_formatted_date(), message])
if err:
printerr(message)

View File

@@ -137,7 +137,7 @@ func _init():
self.project_settings_manager.get_setting(self.project_settings_manager.GAME_SCENE)
).instance()
print(get_script().get_path())
print("ESC {0}".format([get_script().get_path()]))
# Load settings