diff --git a/TheDialgaTeam.Serilog/Extensions/HostBuilderExtensions.cs b/TheDialgaTeam.Serilog/Extensions/HostBuilderExtensions.cs index a4017c6..69aaaae 100644 --- a/TheDialgaTeam.Serilog/Extensions/HostBuilderExtensions.cs +++ b/TheDialgaTeam.Serilog/Extensions/HostBuilderExtensions.cs @@ -38,7 +38,7 @@ public static IHostBuilder ConfigureSerilog(this IHostBuilder hostBuilder, Actio return hostBuilder.ConfigureServices(static collection => { collection.AddOptions().BindConfiguration("TheDialgaTeam.Serilog:LogLevel"); - collection.AddOptions().BindConfiguration("TheDialgaTeam.Serilog:TemplateTextFormatter"); + collection.AddOptions().BindConfiguration("TheDialgaTeam.Serilog:LogLevelMessageTemplate"); collection.TryAddSingleton(); collection.TryAddSingleton(); collection.TryAddSingleton(); diff --git a/TheDialgaTeam.Serilog/TheDialgaTeam.Serilog.csproj b/TheDialgaTeam.Serilog/TheDialgaTeam.Serilog.csproj index 4f6f777..c36cad8 100644 --- a/TheDialgaTeam.Serilog/TheDialgaTeam.Serilog.csproj +++ b/TheDialgaTeam.Serilog/TheDialgaTeam.Serilog.csproj @@ -12,7 +12,7 @@ true TheDialgaTeam.Serilog - 1.0.0 + 1.1.0 Yong Jian Ming TheDialgaTeam TheDialgaTeam.Serilog