Skip to content

Commit

Permalink
Fix obsolete Serilog usage
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Jun 11, 2023
1 parent 1b72966 commit e6d01b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mockaco/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>

configuration.AddCommandLine(args, switchMappings);
})
.UseSerilog((context, loggerConfiguration) => loggerConfiguration.ReadFrom.Configuration(context.Configuration))
.UseStartup<Startup>();
});
})
.UseSerilog((context, loggerConfiguration) => loggerConfiguration.ReadFrom.Configuration(context.Configuration));

private static CommandLineBuilder CreateCommandLineBuilder(string[] args, IHost host)
{
Expand Down

0 comments on commit e6d01b3

Please sign in to comment.