Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

[cleanup] change a few print_line to print_verbose

hogoww11459dc2b41a
diff --git a/editor/export/editor_export_platform_pc.cpp b/editor/export/editor_export_platform_pc.cpp
index 399daf74e44..76681296fc4 100644
--- a/editor/export/editor_export_platform_pc.cpp
+++ b/editor/export/editor_export_platform_pc.cpp
@@ -248,8 +248,8 @@ bool EditorExportPlatformPC::_copy_debugsymbols(Ref<DirAccess> &p_da, const Stri
}
Vector<String> exec_debug_ids = OS::get_singleton()->get_debug_build_id(p_path);
Vector<String> symb_debug_ids = OS::get_singleton()->get_debug_build_id(p_path + ".debugsymbols");
- print_line("Executable debug IDs: ", exec_debug_ids);
- print_line("Symbols debug IDs: ", symb_debug_ids);
+ print_verbose(vformat("Executable debug IDs: %s", exec_debug_ids));
+ print_verbose(vformat("Symbols debug IDs: %s", symb_debug_ids));
if (exec_debug_ids != symb_debug_ids) {
add_message(EXPORT_MESSAGE_WARNING, TTR("Prepare Templates"), vformat(TTR("Executable and symbols debug ID mismatch: %s != %s."), exec_debug_ids, symb_debug_ids));
return false;
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp
index 51963abf738..757cae40dd1 100644
--- a/platform/macos/export/export_plugin.cpp
+++ b/platform/macos/export/export_plugin.cpp
@@ -2510,8 +2510,8 @@ Error EditorExportPlatformMacOS::export_project(const Ref<EditorExportPreset> &p
_copy_debugsymbols(tmp_app_dir, tmp_app_path_name + ".dSYM", src_pkg_name.get_base_dir(), pkg_name, "universal", p_debug, exec_debug_ids, &symb_debug_ids, err);
}
}
- print_line("Executable debug IDs: ", exec_debug_ids);
- print_line("Symbols debug IDs: ", symb_debug_ids);
+ print_verbose(vformat("Executable debug IDs: %s", exec_debug_ids));
+ print_verbose(vformat("Symbols debug IDs: %s", symb_debug_ids));
int id_match = 0;
for (const String &E : exec_debug_ids) {
if (symb_debug_ids.has(E)) {