Open janmechtel opened 1 week ago
I got started, but can't figure out how to do this properly.
Ideally I'd imagine there is only 1 (Serilog) logger that writes to appdata rolling log file.
However Velopack requires an ILogger while Avalonia expects an ILogSink.
Now I'm stuck with 2 loggers writing to the same file.
Also I don't understand how I can use the logger elegantly inside App.axaml.cs
Thanks @daleksin for the logging branch
I couldn't really use it as is, but it helped me understand.
Also, I should read this and try it https://docs.avaloniaui.net/docs/guides/implementation-guides/how-to-implement-dependency-injection
Would be great to have log files written to disk in the app folder and kept for some time back