commit | c992117d4619e5fc62234f245fae064add6096c1 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@pigweed.infra.roller.google.com> | Tue Oct 29 23:21:43 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 29 23:21:43 2024 +0000 |
tree | 06d1a1459c97a90a7bba5bdff9dcdbeb82be9fdc | |
parent | 437fbe46576bb0255144ef3824b6d96003cfa21f [diff] |
roll: pigweed pw_log: Explicitly pass verbosity to PW_LOG Updates the PW_LOG contract to ensure that PW_LOG's default implementation does not rely on any global preprocessor defines, instead it ensures that all arguments are explicitly passed. This is done by passing the verbosity explicitly as an argument by selecting them in the PW_LOG_* macros instead and updating the PW_LOG_ENABLE_IF to also take in verbosity. Lastly PW_LOG_ENABLE_IF_DEFAULT is removed and PW_LOG_ENABLE_IF is changed to be a module configuration option, meaning that there should be a single definition for a toolchain (this is not permitted to vary between compile units). Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/239035 Original-Revision: 661bf47f06e604384a4c7eb7bf79d2f3da71ee74 Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: 0dff1169bf8b8c..661bf47f06e604 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8732702538766096193 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I92bd244fc23198aa808de6bebbb94eaccdd28f0c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/245436 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.