demian666
March 22nd, 2005, 06:19 AM
Hi all,
I want to make a .dll that has inside one static class
named "ErrorHandler" with just one static method inside
named "WhileLogLine" with one parameter, the text to be log in.
I want it to works like the Console.writeline, but intead of printing
in Console, I want to write in a log file.
How can I make this to avoid this possible problems:
1.- File Locks
2.- File write process to large in time ( I want to call static method and not to wait until log write was made)
Thanks a lot for your ideas and sorry about my poor english
I want to make a .dll that has inside one static class
named "ErrorHandler" with just one static method inside
named "WhileLogLine" with one parameter, the text to be log in.
I want it to works like the Console.writeline, but intead of printing
in Console, I want to write in a log file.
How can I make this to avoid this possible problems:
1.- File Locks
2.- File write process to large in time ( I want to call static method and not to wait until log write was made)
Thanks a lot for your ideas and sorry about my poor english