PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Thread­Logging­Context Class / Thread­Logging­Context Methods / Thread­Logging­Context.​Get­Custom­Record­Builder Method

ThreadLoggingContext.GetCustomRecordBuilder Method

Overload List
  NameDescription
Public methodGetCustomRecordBuilder(CustomLogRecordInfo)
Gets a LogRecordBuilder for the current context to build a custom record.
(Inherited from LoggingContext.)
Public methodGetCustomRecordBuilder(LoggingContext, CustomLogRecordInfo)
Gets a LogRecordBuilder and initializes it to emit a custom record.
See Also