Prefixed all Escoria console output with 'ESC' (#591)
Co-authored-by: Mathieu Bergounioux <Mathieu.Bergounioux@sectra.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user