You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #2064 - jtgeibel:prod/interlaced-logs, r=carols10cents
Consolidate logging into a single `println!()`
In production I observed serveral log lines with only " SLOW REQUEST".
Occasionally another thread will obtain the lock on stdout between our
calls to `print!()`.
This implementation consolidates the entire log line into a single
`println!()` and avoids an allocation unless an error is being logged.
r? @smarnach
0 commit comments