J
Jeremy S.
I'm writing several small utility apps that all need to do some routine
logging of their progress, exceptions encountered, etc. The utilities
include a couple of Console apps, a windows Service, and a couple of Windows
Forms apps.
I was just considering the possibility of implementing the logging
capability via the built-in Trace listeners, rather than writing my own
logging component.
Practically all of the documentation on Trace and Debug classes talks about
using those classes for troubleshooting purposes. But it appears that there
is no reason they can't be used for routine logging purposes.
What would you do and why?... would you prefer to roll your own reusable
logging component or use the Trace and TraceListeners?
Thanks.
logging of their progress, exceptions encountered, etc. The utilities
include a couple of Console apps, a windows Service, and a couple of Windows
Forms apps.
I was just considering the possibility of implementing the logging
capability via the built-in Trace listeners, rather than writing my own
logging component.
Practically all of the documentation on Trace and Debug classes talks about
using those classes for troubleshooting purposes. But it appears that there
is no reason they can't be used for routine logging purposes.
What would you do and why?... would you prefer to roll your own reusable
logging component or use the Trace and TraceListeners?
Thanks.