func (l *Logger) Info(b []byte) ([]byte, error) {
	l.log.Info(fmt.Sprintf("%s", b))
	return []byte(""), nil
}
Info will take the incoming byte slice data and call the internal logger converting the data to a string.
package logging
import (
	"fmt"
)
type Logger struct {
	log Log
}
type Log interface {
	Info(args ...interface{})
	Warn(args ...interface{})
	Error(args ...interface{})
	Debug(args ...interface{})
	Trace(args ...interface{})
}
type Config struct {
	Log Log
}
func New(cfg Config) (*Logger, error) {
	l := &Logger{
		log: NoOpLog{},
	}
	if cfg.Log != nil {
		l.log = cfg.Log
	}
	return l, nil
}