Hi all,

What will be the best way to write errors to a log file in a multithreaded application?

Should I post a message that will write to the file from a single place, or should I build a function that lock the file write the error and release it? or maybe a different way..

Please help...