public void V(string tag, string msg) { if (!(level.HasFlag(SourceLevels.Verbose))) { return; } lock (locker){ ts.WriteLine(SourceLevels.Verbose, msg, tag); } }
public void V(string tag, string msg) { lock (_locker) { _ts.WriteLine(SourceLevels.Verbose, msg, tag); } }