Hello,
I have been digging into writing into a file with the dot net
framework. There is a lot of information on it. I have a web
application and I want to write to a log file when an exception is
encountered. Writing to this file is not mission critical. Therefore
it seems like synchronous writing would be ok. I am looking for
something simple in what seems to be a complex topic. There are
fileinfos, streams, filesteams etc etc.
Does anyone have any advice on which of these objects to start with?
They all seem like overkill for what I want to do.
I want to create/open a file to a specific path like c:\logs\error.log
and write a variable of string class into it. I don't need to read
it.
Thanks,
HH