// Write acts like a proxy passing the given bytes buffer to the ResponseWritter
// and additionally counting the passed amount of bytes for logging usage.
Write acts like a proxy passing the given bytes buffer to the ResponseWritter
and additionally counting the passed amount of bytes for logging usage.
// Write acts like a proxy passing the given bytes buffer to the ResponseWritter // and additionally counting the passed amount of bytes for logging usage .
func (r *LogRecord) Write(p []byte) (int, error) {
	written, err := r.ResponseWriter.Write(p)
	r.responseBytes += int64(written)
	return written, err
}
func ( r * LogRecord ) Write ( p [ ] byte ) ( int , error ) { written , err := r . ResponseWriter . Write ( p ) r . responseBytes += int64 ( written ) return written , err }
Write acts like a proxy passing the given bytes buffer to the ResponseWritter
and additionally counting the passed amount of bytes for logging usage.
Write acts like a proxy passing the given bytes buffer to the ResponseWritter and additionally counting the passed amount of bytes for logging usage .