Show logging and update packages
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using GerstITS.Logging.Serilog;
|
||||
using GerstITS.Web.Api.Hosting;
|
||||
|
||||
namespace GerstITS.Examples.Api
|
||||
@@ -8,12 +9,13 @@ namespace GerstITS.Examples.Api
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Run(args);
|
||||
BootstrapLogContext.Execute<Program>(_ => Run(args));
|
||||
}
|
||||
|
||||
protected override void ConfigureWebHost(IWebHostBuilder webHostBuilder)
|
||||
{
|
||||
webHostBuilder.UseStartup<Startup>();
|
||||
webHostBuilder.UseLogging()
|
||||
.UseStartup<Startup>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user