func (logger *Logger) SetLevel(level logrus.Level) {
	logger.l.SetLevel(level)
}
SetLevel set logger level.
package logger
import (
	"fmt"
	"github.com/sirupsen/logrus"
)
type Logger struct {
	l             *logrus.Logger
	bindToChannel bool
	Messages      chan string
}
func NewLogger(bindToChannel bool, messages chan string) *Logger {
	return &Logger{
		l:             logrus.New(),
		Messages:      messages,
		bindToChannel: bindToChannel,
	}
}