<PackageReference Include="Serilog" Version="4.4.0-dev-02438" />

Serilog.Formatting.Display.LevelOutputFormat

static class LevelOutputFormat
Implements the {Level} element. can now have a fixed width applied to it, as well as casing rules. Width is set through formats like "u3" (uppercase three chars), "w1" (one lowercase char), or "t4" (title case four chars).
namespace Serilog.Formatting.Display { internal static class LevelOutputFormat { public static string GetLevelMoniker(LogEventLevel value, string format = null); } }