I’m developping a console application using .NET.
This application writes a lot in the console and there is some user interaction that I would like to log into a file each time the application is ran using Serilog.
I don’t want to redirect the whole console output into a log file and loose the console output, I want both.
I didn’t find how to tell to Serilog to log the console output to a file (and keep the console output) …
Dominique BOYER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.