/// <summary> /// Writes the messages to the fallback writer, if one is set. /// </summary> /// <param name="msgs">The messages to be written.</param> private void FallbackWrite(params string[] msgs) { if (fallbackWriter != null) { foreach (var msg in msgs) { fallbackWriter.Write(msg); } fallbackWriter.Flush(); } }
void TimeOut() { writer.Flush(); }
/// <summary> /// Flush the log writer. /// </summary> public void Flush() { _logWriter.Flush(); }