You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Add print_verbose to print to stdout only in verbose mode
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
This commit is contained in:
@@ -107,3 +107,10 @@ void print_error(String p_string) {
|
||||
|
||||
_global_unlock();
|
||||
}
|
||||
|
||||
void print_verbose(String p_string) {
|
||||
|
||||
if (OS::get_singleton()->is_stdout_verbose()) {
|
||||
print_line(p_string);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user