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