feat: gracefully shutdown logmanager on exit
This commit is contained in:
parent
dcbc402bfb
commit
8dd4468c1a
|
@ -1,4 +1,5 @@
|
||||||
using Markdig;
|
using Markdig;
|
||||||
|
using NLog;
|
||||||
using NLog.Extensions.Logging;
|
using NLog.Extensions.Logging;
|
||||||
using OliverBooth.Data;
|
using OliverBooth.Data;
|
||||||
using OliverBooth.Markdown;
|
using OliverBooth.Markdown;
|
||||||
|
@ -52,3 +53,5 @@ app.MapRazorPages();
|
||||||
app.MapRssFeed("/blog/feed");
|
app.MapRssFeed("/blog/feed");
|
||||||
|
|
||||||
app.Run();
|
app.Run();
|
||||||
|
|
||||||
|
LogManager.Shutdown();
|
||||||
|
|
Loading…
Reference in New Issue