Serilog Logger Lifecycle #1134
sandrofigo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read some documentation here https://github.com/serilog/serilog/wiki/Lifecycle-of-Loggers about the lifecycle of Serilog loggers. There I noticed that a call to
Log.CloseAndFlush();
has to be made in order for sinks to be disposed correctly.This call is missing in NUKE. Is there any reason why this call is omitted? Is it expected to be called manually in e.g.
OnBuildFinished()
?Beta Was this translation helpful? Give feedback.
All reactions