You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
This commit is contained in:
@@ -1474,8 +1474,8 @@ public:
|
||||
if (use_remote) {
|
||||
if (use_reverse) {
|
||||
|
||||
static const char *const msg = "** Device API >= 21; debugging over USB **";
|
||||
EditorNode::get_singleton()->get_log()->add_message(msg);
|
||||
static const char *const msg = "--- Device API >= 21; debugging over USB ---";
|
||||
EditorNode::get_singleton()->get_log()->add_message(msg, EditorLog::MSG_TYPE_EDITOR);
|
||||
print_line(String(msg).to_upper());
|
||||
|
||||
args.clear();
|
||||
@@ -1515,8 +1515,8 @@ public:
|
||||
}
|
||||
} else {
|
||||
|
||||
static const char *const msg = "** Device API < 21; debugging over Wi-Fi **";
|
||||
EditorNode::get_singleton()->get_log()->add_message(msg);
|
||||
static const char *const msg = "--- Device API < 21; debugging over Wi-Fi ---";
|
||||
EditorNode::get_singleton()->get_log()->add_message(msg, EditorLog::MSG_TYPE_EDITOR);
|
||||
print_line(String(msg).to_upper());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user