PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsThread­Logging­ContextGet­Record­Builder
Open sandboxFocus

ThreadLoggingContext.GetRecordBuilder Method

GetRecordBuilder(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)

Gets a LogRecordBuilder and initializes it for a given context, member, and record.

public LogRecordBuilder GetRecordBuilder(LoggingContext context, ref LogRecordInfo logRecordInfo, ref LogMemberInfo logMemberInfo)
Type Name Description
LoggingContext context

The LoggingContext to which the record relates.

LogRecordInfo logRecordInfo

Information about the log record.

LogMemberInfo logMemberInfo

Information about the method, property, or field.

Type Description

A LogRecordBuilder properly initialized by calling the BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo) method.