You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the original Serilog migration I made the following choices:
Contain Serilog references in a single part of the code
Maintain the old log level system rather than Serilog's
Use the ILogger interface still
Serilog has fairly rich functionality but because of the way its named-argument string templating works, I'm not sure it can be used indirectly.
But a good use of Serilog would probably involve us using it directly, with its log levels, and ideally using the log-level-named methods (logger.Verbose, logger.Error, etc.).
With this, we would probably want to use Serilog's ILogger rather than our own implementation.
We should also migrate the testing away from writing a text file and toward making test sink for Serilog.
Activity
andyleejordan commentedon Nov 15, 2024
Good bye Serilog, and good riddance! #2197