TextLogRecordBuilder.WriteCustomString Method (CharSpan) |
Write a custom string passed as an CharSpan.
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)
C#
public override void WriteCustomString( in CharSpan str )
Parameters
- str
- Type: PostSharp.Patterns.Formatters.CharSpanInAttribute
The string to be written.
Implements
ICustomLogRecordBuilder.WriteCustomString(CharSpan)
A custom string never contains formatting parameters. It is the responsibility of of the caller to parse a formatting
string and invoke WriteCustomString(CharSpan) and WriteCustomParameter<T>(Int32, CharSpan, T, CustomLogParameterOptions)
in alternation.