Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace

PostSharp.Patterns.Diagnostics.RecordBuilders Namespace

Public classLogRecordBuilder
Builds log record (typically, but not necessarily a string) for an action. You can think of the LogRecordBuilder as a semantic StringBuilder. PostSharp emits code that invoke methods such as SetParameter<T>(Int32, String, ParameterKind, String, T) or SetReturnValue<T>(Int32, String, String, T, IFormatter<T>), and the responsibility of the LogRecordBuilder is to format a record and emit it to the back-end.
Public classTextLogRecordBuilder
An implementation of LogRecordBuilder that builds text-based log records. This class is the base class for most back-ends.
Public enumerationSemanticParameterKind
Enumerates the kinds of semantic parameters passed to the AppendSemanticParameter(SemanticParameterKind, String, String, String, Int32) method. The enumeration is a bit mask. Values can be combined with the | operator.