vip32 / serilog-sinks-litedb

Apache License 2.0
33 stars 15 forks source link

Logs are not inserted when the app is closing or if the app crashes #13

Closed sekulicb closed 2 years ago

sekulicb commented 3 years ago

Hi. Thanks for the library.

To reproduce the steps:

  1. Create WPF app on .net core 3.1
  2. Add Application Exit event in App.xaml
  3. Add "Global exception handler" to the start up of the app and hook up to AppDomain.CurrentDomain.UnhandledException / Application.Current.DispatcherUnhandledException / TaskScheduler.UnobservedTaskException etc..
  4. Inform the user that the app crashed and let it crash

Scenario number 1

Scenario number 2

Can you confirm the behaviour that I described here?

sekulicb commented 2 years ago

Closing since looks like this library is no longer actively maintained....

vip32 commented 2 years ago

Sorry not really active on this repo, you got a PR which can be merged?

On Wed, Jan 26, 2022, 21:00 sekulicb @.***> wrote:

Closed #13 https://github.com/vip32/serilog-sinks-litedb/issues/13.

— Reply to this email directly, view it on GitHub https://github.com/vip32/serilog-sinks-litedb/issues/13#event-5959184717, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIDT6SABFIFXFYEG4I2F3UYBHHHANCNFSM5DEM26YA . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>