PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts/Thread­Logging­Context/Thread­Logging­Context
Open sandboxFocus

Constructor ThreadLoggingContext

ThreadLoggingContext(LoggingBackend, LogRecordBuilder)

Initializes a new ThreadLoggingContext.

Declaration
public ThreadLoggingContext(LoggingBackend backend, LogRecordBuilder recordBuilder)
Parameters
Type Name Description
LoggingBackend backend

The parent LoggingBackend.

LogRecordBuilder recordBuilder

The thread-local LogRecordBuilder.