PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders / Text­Log­Record­Builder
Open sandbox

Class TextLogRecordBuilder

Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public abstract class TextLogRecordBuilder : LogRecordBuilder, ICustomLogRecordBuilder

Constructors

Name Description
TextLogRecordBuilder(TextLoggingBackend)

Properties

Name Description
Backend
BackendOptions
Exception
Level
MemberName
Options
ParameterPrefix
Profile
PropertyPrefix
ReturnItemPrefix
SourceLineInfo
SourceType
StringBuilder
TypeSource

Methods

Name Description
AddHiddenCustomParameter<T>(Int32, CharSpan, T, in CustomLogParameterOptions, IFormatter<T>)
AppendAsyncInfo()
AppendClosingParenthesisConditional()
AppendComma()
AppendCommaConditional()
AppendContextDescription()
AppendContextDescription(LoggingContext)
AppendDelimiter()
AppendDelimiterConditional()
AppendEpilogue()
AppendExceptionDetails()
AppendExecutionTime()
AppendExecutionTimeThreshold()
AppendIndentString(Int32)
AppendMemberName()
AppendOpeningParenthesis()
AppendProlog()
AppendRecordKind()
AppendSemanticParameter(SemanticParameterKind, String, Object, IFormatter, String, Int32)
AppendSemanticParameter(SemanticParameterKind, String, String, String, Int32)
AppendSemanticParameter<T>(SemanticParameterKind, ArraySegment<Char>, T, IFormatter<T>, String, Int32)
AppendSemanticParameter<T>(SemanticParameterKind, String, T, IFormatter<T>, String, Int32)
AppendSourceLineInfo()
AppendSpaces(Int32)
AppendSpecialChar(Char)
AppendTrailingPeriod()
AppendTypeName()
BeginCustomRecord(LoggingContext, ref CustomLogRecordInfo)
BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)
BeginWriteItem(CustomLogRecordItem, in CustomLogRecordTextOptions)
Dispose()
EmitRecord()
EmitRecord(Boolean)
EndContextDescription()
EndContextDescriptionConditional()
EndWriteItem(CustomLogRecordItem)
GetContextDescription()
GetContextDescriptionUnsafe()
GetContextForDescription()
GetSourceName()
HasRecordKindName()
MustBuildContextDescription()
RequireComma()
RequireDelimiter()
RequirePunctuation(Char)
Reset()
SetException(Exception)
SetExecutionTime(Double, Boolean)
SetParameter<T>(Int32, String, ParameterKind, String, T, IFormatter<T>)
SetReturnValue<T>(Int32, String, String, T, IFormatter<T>)
SetThis<T>(T, IFormatter<T>)
ShouldLogExceptionDetails()
ToString()
Write(UnsafeString)
WriteCustomParameter<T>(Int32, in CharSpan, T, in CustomLogParameterOptions, IFormatter<T>)
WriteCustomParameter<T>(Int32, ArraySegment<Char>, T, IFormatter<T>)
WriteCustomString(in CharSpan)
WriteCustomString(ArraySegment<Char>)
WriteProperty(LoggingProperty, Object, Int32)
WriteProperty<T>(String, T, Int32, in LoggingPropertyOptions)