private void RawWrite(Logger logger, Level level, String message) { if (IsMuted(logger, level)) { return; } Medium.Write(message); var newlines = Seq.Nats.Skip(1).Select(i => i.Times(Environment.NewLine)); PreviouslyWrittenEolns = newlines.TakeWhile(message.EndsWith).Count(); HasWrittenAnything = true; }