S
scott
I would like to create a log file for my Windows forms app that logs
all user activity to help with debugging unhandled exceptions. I would
like to do this with a simple StreamWriter or TextWriter object.
Rather than define the object at the form level which would require me
to pass the object from form to form. What is the best way to keep the
object at a level above all forms so that all forms can write to the
log when needed? Thanks for the suggestions!
Scott Adams
~ not the Dilbert guy! ~
all user activity to help with debugging unhandled exceptions. I would
like to do this with a simple StreamWriter or TextWriter object.
Rather than define the object at the form level which would require me
to pass the object from form to form. What is the best way to keep the
object at a level above all forms so that all forms can write to the
log when needed? Thanks for the suggestions!
Scott Adams
~ not the Dilbert guy! ~