func MakeWriterSender(s Sender, p level.Priority) *WriterSender {
	buffer := new(bytes.Buffer)
	return &WriterSender{
		Sender:   s,
		priority: p,
		writer:   bufio.NewWriter(buffer),
		buffer:   buffer,
	}
}
MakeWriterSender returns an sender interface that also implements
io.Writer. Specify a priority used as the level for messages sent.
package send
import (
	"bufio"
	"bytes"
	"io"
	"sync"
	"unicode"
	"github.com/mongodb/grip/level"
	"github.com/mongodb/grip/message"
)
type WriterSender struct {
	Sender
	writer   *bufio.Writer
	buffer   *bytes.Buffer
	priority level.Priority
	mu       sync.Mutex
}
func NewWriterSender(s Sender) *WriterSender { return MakeWriterSender(s, s.Level().Default) }