ПИбд-23 Тихоненков А.Е. Лабораторная №8 #16

Closed
YourDax wants to merge 4 commits from Lab8 into Lab7
2 changed files with 15 additions and 15 deletions
Showing only changes of commit 6109080bfc - Show all commits

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"
}
}
}