Skip to content

Restrict debug output behind environment variable - #601

Merged
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-8-12-debug-strings
Aug 14, 2026
Merged

Restrict debug output behind environment variable#601
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-8-12-debug-strings

Conversation

@rustaceanrob

Copy link
Copy Markdown
Member

The verbose debug strings are testing-only and clutter the console when used in a debug build of other apps. This restricts debug strings to debug builds and an environment variable so they only come up in integration tests and CI. This reduces noise in the examples, if run in debug, and in downstream projects that already have Info available.

The verbose debug strings are testing-only and clutter the console when
used in a debug build of other apps. This restricts debug strings to
debug builds _and_ an environment variable so they only come up in
integration tests and CI. This reduces noise in the examples, if run in
debug, and in downstream projects that already have `Info` available.
@rustaceanrob
rustaceanrob merged commit fcc070c into 2140-dev:master Aug 14, 2026
10 checks passed
@rustaceanrob
rustaceanrob deleted the 26-8-12-debug-strings branch August 14, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant