WriteCustomString(ArraySegment<char>)
Write a custom string passed as an ArraySegment<char>.
Declaration
public abstract void WriteCustomString(ArraySegment<char> str)Parameters
| Type | Name | Description |
|---|---|---|
| ArraySegment<char> | str | 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>(int, ArraySegment<char>, T) in alternation.
WriteCustomString(in CharSpan)
Write a custom string passed as an CharSpan.
Declaration
public virtual void WriteCustomString(in CharSpan str)Parameters
| Type | Name | Description |
|---|---|---|
| CharSpan | str | The string to be written. |
Implements
Remarks
A custom string never contains formatting parameters. It is the responsibility of of the caller to parse a formatting string and invoke WriteCustomString(in CharSpan) and WriteCustomParameter<T>(int, in CharSpan, T, in CustomLogParameterOptions) in alternation.