B
B
Boris the Animal2016-05-20 11:18:27
Programming
Boris the Animal, 2016-05-20 11:18:27

Trace class. Why is it needed if there are all kinds of loggers?

The question is that I read about this class in the help, but I see that it essentially performs logging. And you can connect trace listeners and use them to output all messages somewhere.
The only explanation for its existence that comes to mind is that it works very fast and is used in many classes in .NET by default, that is, for example, if I use a WebClient, then probably by connecting listeners I will see which - a detailed info.
Do I get it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#algooptimize #bottize, 2016-05-20
@user004

If you set up the logging configuration for the webclient, you will see. There is speed and convenience, for your code you already choose what to use, see the reviews. About fast - depends on the listener, the concept of fast and physical limitations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question