mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Changed AppInsights
This commit is contained in:
parent
0c8c1b3191
commit
23fbd1f43a
4 changed files with 11 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace ServerManager.WebApplication;
|
||||
|
||||
|
|
@ -15,5 +16,9 @@ public class Program
|
|||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
})
|
||||
.ConfigureLogging((hostingContext, options) =>
|
||||
{
|
||||
options.AddApplicationInsights();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue