'How can I build efficient logging for a C# console app?
I've built a console app for EWS email processing and file delivery. I'd like to build some logging for this without having to put hundreds of StreamWriter lines. Is there a way to log everything that is printed to the screen? PowerShell can do this, so I was hoping that C# had the same functionality. My Google search "C# log all console text and errors" didn't yield anything great, and I'm not sure how else to reword the question. Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
