-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
Description
I have the following code - nothing in appsettings or anywhere...
configLogging.AddProvider(new SimpleConsoleLogger())
.AddFile(c =>
{
string dir = Path.Combine(Path.GetTempPath(), "Paros.Logs");
if (!Directory.Exists(dir))
{
Directory.CreateDirectory(dir);
}
c.RootPath = dir;
c.MaxFileSize = 10_000_000;
c.FileAccessMode = Karambolo.Extensions.Logging.File.LogFileAccessMode.KeepOpenAndAutoFlush;
});
And no logs are being created.
What else am I missing?