WriteCustomString(ArraySegment<char>)
Write a custom string passed as an ArraySegment<char>
.
Declaration
public override void WriteCustomString(ArraySegment<char> str)
Parameters
Type | Name | Description |
---|---|---|
ArraySegment<char> | str | The string to be written. |
Overrides
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 override void WriteCustomString(in CharSpan str)
Parameters
Type | Name | Description |
---|---|---|
CharSpan | str | The string to be written. |
Overrides
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.