commit | bc1e7b27cf4b8409462a4c516131b1fe0ed74bb4 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Wed Nov 03 20:27:20 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Nov 20 01:13:01 2021 +0000 |
tree | 5ee239ef0ae9409b669bab337fd3c360d4533da0 | |
parent | acefe88a4997c8109994c8aa249c077a55e8e4eb [diff] |
pw_{log, log_rpc}: Add log filters - Add log filter proto message that contains rules for filtering logs based on level, flags, and module information. Each filter has an identifiable byte array, which can be a token or human readable string, and is used to configure new filter rules. - Add LogService methods to get and modify log filters. - RpcLogDrain can get an optional filter to check if a log should be dropped. - Remove unused RpcLogDrain constructor with open server writer. - Avoid sending empty packets in RpcLogEntry if all messages are filtered out. Requires: pigweed-internal:18160 Change-Id: I7fd299e6f281432f99c6a1bd8ede4223ca8e0a3d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/65000 Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.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/