PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Write­Custom­String Method

TextLogRecordBuilder.WriteCustomString Method

Write a chunk of custom string.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public override void WriteCustomString(
	ArraySegment<char> str
)

Parameters

str
Type: System.ArraySegment<Char>
The string to be written.
Remarks
A custom string never contains formatting parameters.It is the responsibility of of the caller to parse a formatting string and invoke WriteCustomString(ArraySegment<Char>) and WriteCustomParameter<T>(Int32, ArraySegment<Char>, T) in alternance.
See Also