writers.go
func (lw DebugLogWriter) Write(p []byte) (int, error) {
	lw.Debug(string(bytes.TrimRightFunc(p, unicode.IsSpace)))
	return len(p), nil
}
func (lw DebugLogWriter) Write(p []byte) (int, error) {
	lw.Debug(string(bytes.TrimRightFunc(p, unicode.IsSpace)))
	return len(p), nil
}
// Write logs an Debug message to a logger.