third_party.pigweed.src/pw_assert_log
Wyatt Hepler 4c95c0b750 pw_log: Add the log module name to PW_HANDLE_LOG()
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>
2022-12-22 20:50:05 +00:00
..
assert_backend_public_overrides/pw_assert_backend
check_backend_public_overrides/pw_assert_backend
public/pw_assert_log pw_log: Add the log module name to PW_HANDLE_LOG() 2022-12-22 20:50:05 +00:00
Android.bp
assert_log.cc pw_log: Add the log module name to PW_HANDLE_LOG() 2022-12-22 20:50:05 +00:00
BUILD.bazel
BUILD.gn
CMakeLists.txt
docs.rst
OWNERS