diff --git a/src/StaffManagement/Program.cs b/src/StaffManagement/Program.cs index 17868fb..515af6c 100644 --- a/src/StaffManagement/Program.cs +++ b/src/StaffManagement/Program.cs @@ -1,11 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; +using NLog.Web; namespace StaffManagement { @@ -19,6 +14,7 @@ namespace StaffManagement Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); - }); + }) + .UseNLog(); } }