示例#1
0
 public override void WriteLine(OutputLevel Level, string Message)
 {
     lock (this)
     {
         Inner.WriteLine(Level, Message);
     }
 }
示例#2
0
 public void FlushTo(OutputDevice Other)
 {
     foreach (Tuple <OutputLevel, string> Message in Messages)
     {
         Other.WriteLine(Message.Item1, Message.Item2);
     }
     Messages.Clear();
 }