Serilog.Sinks.SystemConsole.Formatting.ThemedValueFormatter
protected StyleReset ApplyStyle(TextWriter output, ConsoleThemeStyle style, ref int invisibleCharacterCount)
public int Format(LogEventPropertyValue value, TextWriter output, string format, bool literalTopLevel = false)