-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Commit-Queue: Auto-Submit <[email protected]> Commit-Queue: Wyatt Hepler <[email protected]>
- Loading branch information
Showing
22 changed files
with
286 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.