PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace / Text­Log­Record­Builder Class / Text­Log­Record­Builder Properties

TextLogRecordBuilder Properties

The TextLogRecordBuilder type exposes the following members.

Public propertyBackend
Gets the parent back-end.
Public propertyBackendOptions
Shortcut for this.Backend.Options.
Protected propertyContext
Gets the LoggingContext to which the record belongs.
(Inherited from LogRecordBuilder.)
Protected propertyCustomRecordAttributes
Describes how the LogRecordBuilder will be used, when it is being used to build a custom message or a custom activity.
(Inherited from LogRecordBuilder.)
Public propertyException
Gets the Exception for the current record, or null if no exception is associated to the current record.
Public propertyIsDisposed
Determines whether the current instance has been disposed.
(Inherited from LogRecordBuilder.)
Protected propertyLevel
Gets the LogLevel for the current record.
Public propertyMemberName
Gets the name of the method, property or field for the current record.
Protected propertyOptions
Gets the LoggingOptions for the current record.
Protected propertyParameterPrefix
Gets prefix used for parameter names.
Protected propertyProfile
Gets the LoggingProfile for the current record.
Protected propertyPropertyPrefix
Gets prefix used for property names.
Protected propertyRecordKind
Gets the kind of the current record (e.g. MethodEntry or MethodException).
(Inherited from LogRecordBuilder.)
Protected propertyReturnItemPrefix
Gets prefix used for return values.
Public propertySourceLineInfo
Gets the SourceLineInfo for the current record.
Public propertySourceType Obsolete.
Gets the source Type of the current record.
Protected propertyStringBuilder
Gets the current UnsafeStringBuilder where everything is being appended.
Public propertySyntheticId
Gets a cross-process globally unique identifier for the current LoggingContext. This value is created according to value of the LoggingBackend.Options.SyntheticIdFormatter property.
(Inherited from LogRecordBuilder.)
Protected propertyThreadContext
Gets the ThreadLoggingContext to which the current LogRecordBuilder belongs.
(Inherited from LogRecordBuilder.)
Protected propertyTypeSource
Gets the LoggingTypeSource for the current record.
See Also