Skip to content

Commit d5c8bee

Browse files
Removed unnecessary config section.
1 parent 6db99c0 commit d5c8bee

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

samples/SimpleWebSample/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ public static IWebHost BuildWebHost(string[] args) =>
4747
WebHost.CreateDefaultBuilder(args)
4848
.UseStartup<Startup>()
4949
.UseConfiguration(Configuration)
50-
.UseSerilog((context, configuration) =>
51-
configuration.ReadFrom.Configuration(Configuration)
52-
.Enrich.FromLogContext()
53-
.WriteTo.Console())
50+
.UseSerilog()
5451
.Build();
5552
}
5653
}

0 commit comments

Comments
 (0)