How can my ILoggerProvider get a DisposeAsync() or any kind of shutdown message #51357
Unanswered
DavidThielen
asked this question in
General
Replies: 1 comment 5 replies
-
Could you implement Since |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Blazor server
I have just written an ILoggerProvider and the one thing it is missing is a way to shut down when the app closes.
This is not a biggie as everything is written to the log repository. But I dislike leaving things like file handles open when closing an application.
So, is there a way to be notified that the app is closing? And as a logger, be the last to be notified in case any other parts are logging while closing down?
thanks - dave
Beta Was this translation helpful? Give feedback.
All reactions