mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-09 04:29:36 +00:00
4c95c0b750
pw_log backends previously were expected to access the PW_LOG_MODULE_NAME macro to get the module name. Passing the log module name to PW_HANDLE_LOG() instead makes it simple to use different log module names for different lines in the same file. It also makes it possible to set the log module name in a header file, where PW_LOG_MODULE_NAME cannot be set without non-standard push/pop pragmas. Fixes: b/254117152 Requires: pigweed-internal:37069 Change-Id: Ie50aa66e0d16c4dc21f1914c564ae0fc416d8c7a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/120670 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Wyatt Hepler <hepler@google.com> |
||
---|---|---|
.. | ||
assert_backend_public_overrides/pw_assert_backend | ||
check_backend_public_overrides/pw_assert_backend | ||
public/pw_assert_log | ||
Android.bp | ||
assert_log.cc | ||
BUILD.bazel | ||
BUILD.gn | ||
CMakeLists.txt | ||
docs.rst | ||
OWNERS |