Debug.writeline locks
- by Carra
My program frequently stops with a deadlock. When I do a break-all and look at the threads I see that three threads are stuck in our logging function:
public class Logging
{
public static void WriteClientLog(LogLevel logLevel, string message)
{
#if DEBUG
System.Diagnostics.Debug.WriteLine(String.Format("{0} {1}",…