Last post Mar 01, 2017 03:37 AM by jayakumarvinayagam
Feb 24, 2017 04:57 AM|pty1196account|LINK
I understand Enterprise Logging is difficult to configure for web api.
What is the easy to use, install and configure Log libary for web api and console app?
I just would like to write log to log file and use the log file for debugging purposes.
Feb 24, 2017 10:20 PM|deepalgorithm|LINK
I think log4net or NLog are solid options.
Mar 01, 2017 12:28 AM|Chris Zhao|LINK
A collection of .NET logging libraries
Mar 01, 2017 03:37 AM|jayakumarvinayagam|LINK
I would suggest Serilog, Elmah.
If you want to trace unhandled exception, go with Elmah, minimum configuration enough to setup.
For tracing/debugging better to use Serilog, it supports different data storage( Flat file, Console, SQL server, cloud)
Log Event Levels
Tracing information and debugging.
Internal control flow and diagnostic
Relevance to outside observers
Indicators of possible issues or service
Indicating a failure within app or system
Critical error causing complete failure of the app