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?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4