-
-
Notifications
You must be signed in to change notification settings - Fork 46
Chore(core-debug): debugged utils to hide std::cout output from production builds #524
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
Merged
Ryan-Millard
merged 35 commits into
Ryan-Millard:dev
from
Prachi-Gupta2808:chore/spdlog-debug-logging
Aug 26, 2026
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ae333a3
chore(core-debug): add spdlog debug logging and ban raw std::cout
Prachi-Gupta2808 db35d9e
Update core/include/internal/gpu.h
Prachi-Gupta2808 45e1a0f
Update .github/workflows/no-raw-debug-output.yml
Prachi-Gupta2808 018bdcc
chore(core): add spdlog debug logging and ban raw std::cout
Prachi-Gupta2808 2702dff
Merge branch 'chore/spdlog-debug-logging' of https://github.com/Prach…
Prachi-Gupta2808 63e2eab
fix spdlog
Krasner 520e250
restore dawn
Krasner 1c18309
Merge branch 'dev' into chore/spdlog-debug-logging
Krasner 40473dd
format
Krasner 82063ba
Update .github/workflows/no-raw-debug-output.yml
Krasner 2f37c8e
Merge branch 'dev' into chore/spdlog-debug-logging
Krasner c4ea135
Merge branch 'dev' into chore/spdlog-debug-logging
Ryan-Millard 5e1ae08
Merge branch 'dev' into chore/spdlog-debug-logging
Ryan-Millard 45884e6
feat(core): add IMG2NUM_LOG_LEVEL for configurable compile-time logging
Ryan-Millard 037cc70
ci: fix inverted exit-code handling in raw debug output check
Ryan-Millard 20207c3
fix(py): include spdlog in sdist and collect licenses into the wheel
Ryan-Millard df2bcd6
temp
Ryan-Millard 1844ba6
chore: move C++ lint/format tooling to uv-managed scripts/py workspace
Ryan-Millard 906a509
chore: unify lint/format scripts under lint:* and format:* namespaces
Ryan-Millard 9a2b37a
build: persist scikit-build CMake tree for clang-tidy coverage
Ryan-Millard b670ea6
build: lint wasm TUs against build-wasm compile database
Ryan-Millard 1eea3e4
revert: out of scope packages/js change for licensing
Ryan-Millard f8a361d
fix(ci.yml): uv sync errors during lint
Ryan-Millard ff21cc8
fix(editorconfig): ignore generated files
Ryan-Millard 9915ab0
fix: remove accidentally leftover file licenses.plugin.mjs
Ryan-Millard 7959e05
style: fix editorconfig errors
Ryan-Millard 6e3dc31
ci: skip wasm CMake prebuild in docs job via env flag
Ryan-Millard feafe09
revert: "ci: skip wasm CMake prebuild in docs job via env flag"
Ryan-Millard 819935c
ci: fix docs build by pull spdlog
Ryan-Millard fdd06b1
ci: fix docs build errors
Ryan-Millard c85c987
UNDO!!! -> trigger release.yml on this PR temporarily for testing
Ryan-Millard 0f70eb1
build(packages/js): drop just prebuild hook, add config-time wasm guard
Ryan-Millard 1adf366
Merge branch 'dev' into chore/spdlog-debug-logging
Ryan-Millard 979b939
style(vite.config.js): format the file
Ryan-Millard 628d442
revert: "UNDO!!! -> trigger release.yml on this PR temporarily for te…
Ryan-Millard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| Checks: > | ||
| -*, | ||
| readability-*, | ||
| cppcoreguidelines-avoid-non-const-global-variables, | ||
| portability-restrict-system-includes, | ||
| bugprone-unsafe-functions | ||
| WarningsAsErrors: > | ||
| portability-restrict-system-includes, | ||
| bugprone-unsafe-functions | ||
| HeaderFilterRegex: '(core|bindings)/.*\.(h|hpp)$' | ||
| CheckOptions: | ||
| readability-identifier-length.IgnoredVariableNames: "^([a-zA-Z][a-zA-Z0-9]?)$" | ||
| readability-identifier-length.IgnoredParameterNames: "^([a-zA-Z][a-zA-Z0-9]?_?)$" | ||
| readability-identifier-length.IgnoredLoopCounterNames: "^[a-z]$" | ||
| readability-identifier-naming.FunctionCase: lower_case # free functions stay snake_case | ||
| readability-identifier-naming.MethodCase: camelBack # class methods stay camelCase | ||
| portability-restrict-system-includes.Includes: >- | ||
| *,-iostream,-ostream,-istream,-cstdio,-stdio.h,-print,-syncstream | ||
| bugprone-unsafe-functions.CustomFunctions: >- | ||
| ::printf, the logging macros in core/include/internal/log.h, direct stdout output is banned; | ||
| ::fprintf, the logging macros in core/include/internal/log.h, direct stream output is banned; | ||
| ::puts, the logging macros in core/include/internal/log.h,; | ||
| ::putchar, the logging macros in core/include/internal/log.h,; | ||
| ::vprintf, the logging macros in core/include/internal/log.h,; | ||
| ::perror, the logging macros in core/include/internal/log.h, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.