<PackageReference Include="Serilog" Version="4.3.2-dev-02419" />

Serilog.Events.LogEventPropertyValue

public abstract class LogEventPropertyValue : IFormattable
The value associated with a LogEventProperty. Divided into scalar, sequence and structure values to direct serialization into various formats.

public abstract void Render(TextWriter output, string format = null, IFormatProvider formatProvider = null)

Render the value to the output.

public string ToString(string format, IFormatProvider formatProvider)

Formats the value of the current instance using the specified format.