This commit is contained in:
2026-08-04 11:41:26 +02:00
committed by Jeroen Saey
parent 4d75deea6f
commit 82fac06d8f
4 changed files with 9 additions and 61 deletions
+6
View File
@@ -12,6 +12,12 @@ var logger = new LogBuilder("MyApp")
.BoostWithProcessId()
.Build();
while (true)
{
logger.Information("Application started - iteration ");
logger.Error(new Exception("Nerd!"), "Something went wrong - iteration");
}
Console.WriteLine("Logger created successfully");
Console.WriteLine("Writing log entries...");