PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsEphemeral­Logging­ContextEphemeral­Logging­Context
Open sandboxFocus

EphemeralLoggingContext Constructor

EphemeralLoggingContext(LoggingBackend, ThreadLoggingContext)

Initializes a new EphemeralLoggingContext.

Declaration
public EphemeralLoggingContext(LoggingBackend backend, ThreadLoggingContext threadContext)
Parameters
Type Name Description
LoggingBackend backend

The parent LoggingBackend.

ThreadLoggingContext threadContext

The ThreadLoggingContext in which the new EphemeralLoggingContext will be used.