better logs and event names

This commit is contained in:
Nordup 2024-10-26 02:25:54 +04:00
parent 6528dffe57
commit 83406350c0
6 changed files with 22 additions and 19 deletions

View file

@ -45,7 +45,7 @@ func create_external_texture() -> void:
ext_texure = ExternalTexture.new()
var err = ext_texure.create(t_format, t_view)
if err: Debug.logerr("Cannot create external texture")
else: Debug.logclr("External texture created", Color.AQUAMARINE)
else: Debug.logclr("External texture created", Color.DIM_GRAY)
func send_filehandle(filehandle_path: String) -> void:

View file

@ -42,7 +42,7 @@ func start_sandbox_linux(gate: Gate) -> void:
]
if OS.is_stdout_verbose(): args += ["--verbose"]
Debug.logclr(snbx_env.start + " " + " ".join(args), Color.DARK_VIOLET)
Debug.logclr(snbx_env.start + " " + " ".join(args), Color.DIM_GRAY)
sandbox_pid = OS.create_process(snbx_env.start, args)
gate_events.gate_entered_emit()
@ -63,7 +63,7 @@ func start_sandbox_windows(gate: Gate) -> void:
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
if OS.is_stdout_verbose(): args += ["--verbose"]
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DARK_VIOLET)
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DIM_GRAY)
sandbox_pid = OS.create_process(snbx_executable.path, args)
gate_events.gate_entered_emit()
@ -82,7 +82,7 @@ func start_sandbox_macos(gate: Gate) -> void:
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
if OS.is_stdout_verbose(): args += ["--verbose"]
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DARK_VIOLET)
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DIM_GRAY)
sandbox_pid = OS.create_process(snbx_executable.path, args)
gate_events.gate_entered_emit()