1 write to SizeInBytes
Microsoft.Extensions.Telemetry (1)
src\Shared\LogBuffering\SerializedLogRecord.cs (1)
45
SizeInBytes
= sizeInBytes;
6 references to SizeInBytes
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Buffering\IncomingRequestLogBuffer.cs (3)
81
if (serializedLogRecord.
SizeInBytes
> _options.CurrentValue.MaxLogRecordSizeInBytes)
90
_ = Interlocked.Add(ref _activeBufferSize, serializedLogRecord.
SizeInBytes
);
159
_ = Interlocked.Add(ref _activeBufferSize, -item.
SizeInBytes
);
Microsoft.Extensions.Telemetry (3)
Buffering\GlobalBuffer.cs (3)
102
if (serializedLogRecord.
SizeInBytes
> _options.CurrentValue.MaxLogRecordSizeInBytes)
111
_ = Interlocked.Add(ref _activeBufferSize, serializedLogRecord.
SizeInBytes
);
181
_ = Interlocked.Add(ref _activeBufferSize, -item.
SizeInBytes
);