Пример #1
0
 public IDisposable OverrideWriter(Type new_out)
 {
     return(OverrideWriter(LogWriter.Get(new_out)));
 }
Пример #2
0
 public IDisposable OverrideWriter(TextWriter new_out)
 {
     var new_writer = LogWriter.Get(Guid.NewGuid().ToString()); new_writer.Medium = new_out; return(OverrideWriter(new_writer));
 }