When should I use Tracing vs Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?

后端 未结 6 1810
遥遥无期
遥遥无期 2020-12-07 08:31

How do I choose between standard tracing, Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?

Is there a situation where one is more appropriate than the

6条回答
  •  失恋的感觉
    2020-12-07 09:00

    Look at the NetLog.Logging package on GitHub, it is my creation. It has a monitoring app, and follows the java.util.logging API paradigm, because that's what I like to use. It has a spin lock for access to "writing", and the lock holder writes all of the records queued, up to a limit, before moving on. This will allow for logging to be less contention based I/O and provides a good compromise.

提交回复
热议问题