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
Replaces string interpolation with structured logging (#2930)
Converts manual log message formatting to LoggerMessage source generator methods for better performance and structured logging support.
Improves logging efficiency by eliminating string allocations when logging is disabled and provides consistent structured data for log analysis tools.
log?.LogInformation($"Sync timeouts: {Interlocked.Read(refsyncTimeouts)}; async timeouts: {Interlocked.Read(refasyncTimeouts)}; fire and forget: {Interlocked.Read(reffireAndForgets)}; last heartbeat: {LastHeartbeatSecondsAgo}s ago");
Message="Sync timeouts: {SyncTimeouts}; async timeouts: {AsyncTimeouts}; fire and forget: {FireAndForgets}; last heartbeat: {LastHeartbeatSecondsAgo}s ago")]
0 commit comments