WithContextLocalConfiguration(LoggingContextLocalConfiguration)
Changes the LoggingContextLocalConfiguration for the current execution context.
Declaration
protected LoggingContextLocalConfigurationScope WithContextLocalConfiguration(LoggingContextLocalConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
LoggingContextLocalConfiguration | configuration | The new LoggingContextLocalConfiguration for the current execution context. |
Returns
Type | Description |
---|---|
LoggingContextLocalConfigurationScope | An opaque and disposable cookie that allows to change the CurrentContextLocalConfiguration back to its original value |