commit | 72285b28dee260bc11b08be24de0e526cba4e49c | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Fri Feb 25 18:00:03 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 11 01:13:27 2022 +0000 |
tree | 01cb98fe8a1597bdfd8bce0b0302fe0473d4b9b5 | |
parent | 1015d3a10c30835075fbb23450a8a8dbc28b6056 [diff] [blame] |
pw_log: Add thread field to log.proto - Updated unit tests to check for file and thread fields. Change-Id: I644a772433a481690dba3515e87730484516a3aa Requires: pigweed-internal:24040 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/85590 Reviewed-by: Ewout van Bekkum <ewout@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.com>
diff --git a/pw_system/log_backend.cc b/pw_system/log_backend.cc index 4f127b9..e08ba2e 100644 --- a/pw_system/log_backend.cc +++ b/pw_system/log_backend.cc
@@ -90,6 +90,7 @@ log::EncodeLog(level, flags, module_name, + /*thread_name=*/{}, file_name, line_number, timestamp,