SerilogEphemeralLoggingContext(SerilogLoggingBackend, ThreadLoggingContext)
Initializes a new SerilogEphemeralLoggingContext.
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. |