Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiWriter ¶
type MultiWriter struct {
// contains filtered or unexported fields
}
MultiWriter is a concurrent safe writer that allows appending/removing writers. Newly appended writers get the last write to preserve last output.
func NewMultiWriter ¶
func NewMultiWriter(writers ...io.Writer) *MultiWriter
func (*MultiWriter) Remove ¶
func (t *MultiWriter) Remove(writers ...io.Writer)
Click to show internal directories.
Click to hide internal directories.