SerilogEphemeralLoggingContext Constructor |
Initializes a new SerilogEphemeralLoggingContext.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public SerilogEphemeralLoggingContext( SerilogLoggingBackend backend, ThreadLoggingContext threadContext )
Parameters
- backend
- Type: PostSharp.Patterns.Diagnostics.Backends.Serilog.SerilogLoggingBackend
The parent LoggingBackend. - threadContext
- Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
The ThreadLoggingContext in which the new SerilogEphemeralLoggingContext will be used.