PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​SerilogSerilog­Ephemeral­Logging­ContextSerilog­Ephemeral­Logging­Context
Open sandboxFocus

SerilogEphemeralLoggingContext Constructor

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.