示例#1
0
文件: LogWriter.cs 项目: mortend/uno
 public override void Write(char[] buffer, int index, int count)
 {
     lock (_state)
     {
         _state.Flush(Inner);
         Inner.Write(buffer, index, count);
     }
 }
示例#2
0
文件: Log.cs 项目: lee1431/uno
 public void Flush()
 {
     lock (_state)
         _state.Flush(OutWriter.Inner);
 }