SerilogEphemeralLoggingContext(SerilogLoggingBackend, ThreadLoggingContext)
Initializes a new instance of the SerilogEphemeralLoggingContext class.
Declaration
public SerilogEphemeralLoggingContext(SerilogLoggingBackend backend, ThreadLoggingContext threadContext)Parameters
| Type | Name | Description |
|---|---|---|
| SerilogLoggingBackend | backend | The parent LoggingBackend. |
| ThreadLoggingContext | threadContext | The ThreadLoggingContext in which the new SerilogEphemeralLoggingContext will be used. |