Microsoft.SqlServer.TDS.TDSUtilities.SerializedWriteLineToLog C# (CSharp) Method

SerializedWriteLineToLog() public static method

Serialized write line to destination
public static SerializedWriteLineToLog ( TextWriter log, string text ) : void
log System.IO.TextWriter Destination
text string Text to log
return void
        public static void SerializedWriteLineToLog(TextWriter log, string text)
        {
            lock (s_logWriterLock)
            {
                log.WriteLine(string.Format("[{0}] {1}", DateTime.Now, text));
            }
        }
    }