I have an application where multiple threads may be running at the same time. Different classes need to update the same error/progress log file. Should I create another class with a static method that takes strings as parameter? And then this static method would write the strings to the log file? What would happen if two threads access the static method at the exact same time? Need guidance.