Serilog.Sinks.SystemConsole.Rendering.Casing static class Casing Documentation Code public static string Format(string value, string format = null)