Tracing in dot NET
Well, I finally implemented instrumentation use the Trace class as well the Debug class in an older Winforms app that I am updating. It is a good idea to do so. Though I do have a few questions. Let's see...
RE .Assert vs .Write - I wish there were a way to write a single command that would log a message, AND under the conditions of Assert Failue, through up the warning message. It appears that you have to write two separate statements, and if the Assert is thrown you get its message along with the trace logging message.
RE .Assert vs .Write - I wish there were a way to write a single command that would log a message, AND under the conditions of Assert Failue, through up the warning message. It appears that you have to write two separate statements, and if the Assert is thrown you get its message along with the trace logging message.
0 Comments:
Post a Comment
<< Home