-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Implement verbose
toggle from godot repo
#1364
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'm personally in support of doing this, however:
- It would be nice to copy-paste the
no_verbose()
function from Godot, so that we can easily keep Godot and godot-cpp in sync in the future - This needs to be rebased - there are conflicts now
Rebased & reimplemented! The function is 99% the same, with the exception of just grabbing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks great to me :-)
Cherry-picked for 4.1 in PR #1441 |
Cherry-picked for 4.2 in PR #1442 |
Brings over the
verbose
environment variable from the main godot repo. Much like the main repo, it's disabled by default & enabling it will output logs identical to how they currently output. By leaving verbosity disabled, the outputs are significantly trimmed down, which causes a very real performance boost in certain environments (eg: running the build command via a VSCode task). Verbosity is enabled for GitHub Actions, both to mirror the godot repo & because those should be giving explicit output.