Description
Summary
Attach state
and FormattedLogValues (IReadOnlyList<KeyValuePair<string, object?>> or IEnumerable<KeyValuePair<string, object?>>)
provided via the IDisposable-returning BeginScope (instance and extension) methods
as Attributes to Logs.
Remarks
APIs to support
Consider using Microsoft.Extensions.Logging.IExternalScopeProvider as implementation detail.
Consider supporting a boolean IncludeScopes option, that e.g. the Console-Logger exposes.
See docs at Logging in C# and .NET > Log scopes.
Description
Summary
Attach state
and
FormattedLogValues(IReadOnlyList<KeyValuePair<string, object?>>orIEnumerable<KeyValuePair<string, object?>>)provided via the
IDisposable-returningBeginScope(instance and extension) methodsas Attributes to Logs.
Remarks
APIs to support
Consider using
Microsoft.Extensions.Logging.IExternalScopeProvideras implementation detail.Consider supporting a boolean
IncludeScopesoption, that e.g. theConsole-Logger exposes.See docs at Logging in C# and .NET > Log scopes.