With python, I can use the logging library, which is pretty handy.
What is a magazine library for C #?
You can use log4netor TraceListener.
log4net
TraceListener
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
log4net EntLib, , concurrency log4net.
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
Source: https://habr.com/ru/post/1780942/More articles:How to make div hidden by default created by content_tag_for - jqueryКак повторно запускать (или поздно запускать) событие mousedown в jQuery? - jqueryEnvironment.NewLine equivalent for compact structure 2.0 - c #Нужна идея о том, как обрабатывать переменные группы задач в приложении Winforms - c#How can I solve the "Riddle of Nine" 9 programmatically? - algorithmpeer_method in symfony generator generator - phpRender YAML in Rails 3 - ruby-on-rails-3Rails/Authlogic - UserSession.destroy не завершает сеанс - ruby-on-railsIs it possible to send data from a C # application to a website or web server? - httpКак проверить функцию возвращает IEnumerable - c#All Articles