commit | 9109c0d8630a578c48c9711954d40ea323733393 | [log] [tgz] |
---|---|---|
author | Jordan Brauer <jtbrauer@google.com> | Thu Mar 21 17:59:18 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 21 17:59:18 2024 +0000 |
tree | 9e2e70000e06aa8b2b3fb16e1fec689e4fabbc61 | |
parent | f39e03d8ec13490ecd7917b09f4c32655f3b37e5 [diff] |
pw_log: Add rate limit log statements Adds a PW_LOG_EVERY_N and PW_LOG_EVERY_N_DURATION macro for rate limited logging. Change-Id: Ia22da728f5f9b88f00c492e7742542ccf2c370bd Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/183870 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Jordan Brauer <jtbrauer@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.