// NewPrefixer Create a new log processor that adds a prefix to each line
NewPrefixer Create a new log processor that adds a prefix to each line
// NewPrefixer Create a new log processor that adds a prefix to each line
func NewPrefixer(reader io.ReadCloser, prefix string) io.ReadCloser {
	return &prefixer{
		ReadCloser:     reader,
		prefix:         []byte(prefix),
		prefixWritePos: 0,
		buffer:         make([]byte, 0, 65536),
	}
}
func NewPrefixer ( reader io . ReadCloser , prefix string ) io . ReadCloser { return & prefixer { ReadCloser : reader , prefix : [ ] byte ( prefix ) , prefixWritePos : 0 , buffer : make ( [ ] byte , 0 , 65536 ) , } }
NewPrefixer Create a new log processor that adds a prefix to each line
NewPrefixer Create a new log processor that adds a prefix to each line