-
-
Notifications
You must be signed in to change notification settings - Fork 20.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x] Add print_verbose()
built-in function to print in verbose mode only
#53590
base: 3.x
Are you sure you want to change the base?
Conversation
print_verbose()
built-in function to print in verbose mode onlyprint_verbose()
built-in function to print in verbose mode only (3.x)
|
f6e1965
to
44af653
Compare
I'm not a big fan of |
71cb8d3
to
c58391c
Compare
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds.
44af653
to
cf1ea46
Compare
print_verbose()
built-in function to print in verbose mode only (3.x)print_verbose()
built-in function to print in verbose mode only
3.x
version of #52877. Unlike #52877, this also adds C# support forprint_verbose()
.This can be used as a shorthand for:
Unlike
print_debug()
, this works in release builds too and can be toggled off in debug builds.Preview
Verbose mode disabled
Verbose mode enabled
Enable verbose stdout in the advanced project settings:
Alternatively, you can start Godot with the
--verbose
/-v
command line argument.