C # equivalent to Python protocol library

With python, I can use the logging library, which is pretty handy.

What is a magazine library for C #?

+3
source share
4 answers

You can use log4netor TraceListener.

+9
source

You should also consider NLog ( http://nlog-project.org ), as log4net has not been updated since April 2006. Here's another .NET logging discussion - log4net vs. Nlog

+5
source

log4net EntLib, , concurrency log4net.

+2

log4net : http://logging.apache.org/log4net/index.html

Or if you want to log into the event log, use tracelistener. Many examples can be found through the http://www.google.se/search?sourceid=chrome&ie=UTF-8&q=c%23+tracelistener

+1
source

Source: https://habr.com/ru/post/1780942/


All Articles