Serilog.Sinks.SystemConsole.Formatting.ThemedDisplayValueFormatter class ThemedDisplayValueFormatter : ThemedValueFormatter Documentation Code public ThemedDisplayValueFormatter(ConsoleTheme theme, IFormatProvider formatProvider) public int FormatLiteralValue(ScalarValue scalar, TextWriter output, string format)