Commit 628b7c9
New enhanceLogEntry protected method for overriding (#1385)
* Issue #1329
Allow extended classes to access the LogEntry building, so that
additional information may be encoded in each log entry (eg traceid).
Use addLabel rather than setLabels as it avoids the creation and copy
of a HashMap per log entry.
Signed-off-by: Greg Wilkins <gregw@webtide.com>1 parent 164878e commit 628b7c9
File tree
1 file changed
+11
-9
lines changed- google-cloud-logging/src/main/java/com/google/cloud/logging
1 file changed
+11
-9
lines changedLines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
313 | 311 | | |
314 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| |||
0 commit comments