/// <summary>
 /// Creates instance and uses <paramref name="innerWriter"/> as writer for measurements.
 /// </summary>
 /// <param name="innerWriter">Writer for measurements.</param>
 public DebugBase(TextWriter innerWriter)
 {
     Ensure.NotNull(innerWriter, "innerWriter");
     InnerWriter = innerWriter.WriteLine;
 }
 /// <summary>
 /// Creates instance and uses <paramref name="innerWriter"/> as writer for measurements.
 /// </summary>
 /// <param name="innerWriter">Writer for measurements.</param>
 public DebugBase(DebugMessageWriter innerWriter)
 {
     Ensure.NotNull(innerWriter, "innerWriter");
     InnerWriter = innerWriter;
 }