func LogReadWriteCloserAs(upstream io.ReadWriteCloser, filename string) io.ReadWriteCloser {
	return &dumper{
		upstream: upstream,
		logfile:  OpenLogFileAs(filename),
	}
}
LogReadWriteCloserAs return a proxy for the given upstream io.ReadWriteCloser
that forward and logs all read/write/close operations on the given filename
that is created in the GlobalLogDirectory.
package streams
import (
	"fmt"
	"io"
	"log"
	"os"
	"github.com/arduino/go-paths-helper"
)
var GlobalLogDirectory *paths.Path