удалил ненужный класс logger

This commit is contained in:
Алексей Тихоненков 2023-12-12 12:25:37 +04:00
parent 0600a77fc5
commit 82ea3c5f02
2 changed files with 15 additions and 15 deletions

View File

@ -1,15 +0,0 @@
using Serilog;
namespace AntiAircraftGun
{
public static class Logger
{
public static void ConfigureLogger()
{
Log.Logger = new LoggerConfiguration()
.WriteTo.File("log.txt")
.MinimumLevel.Debug()
.CreateLogger();
}
}
}

View File

@ -0,0 +1,15 @@
{
"Serilog": {
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "log.txt"
}
}
],
"MinimumLevel": {
"Default": "Debug"
}
}
}