Commit 7dd7d6f
committed
Add log scope to send_payment
Demonstrating how the proc macro can be used to set a thread-local
logger at a public entry point. The scope name is also picked up and
logged via log statements that still have an explicit logger
instance.1 parent 7f74671 commit 7dd7d6f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
5442 | 5443 | | |
5443 | 5444 | | |
5444 | 5445 | | |
| 5446 | + | |
5445 | 5447 | | |
5446 | 5448 | | |
5447 | 5449 | | |
| |||
0 commit comments