Writer implements a concurrency safe io.Writer wrapper.
type Writer struct {
// contains filtered or unexported fields
}
func New(w io.Writer) *Writer
New returns a new Writer that writes to w.
func (w *Writer) Sync(sinkName string)
Sync calls Sync on the underlying writer if possible.
func (w *Writer) Write(name string, p []byte)