Commit 5acfa5e
fix(serilog): make the UseSerilog warning check atomic
Emit can run concurrently, so the check-then-set on the warned flag could
let more than one thread log the warning.
Part of #5245
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 0aada87 commit 5acfa5e
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
| |||
0 commit comments