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