35 lines
616 B
Go
35 lines
616 B
Go
package logger
|
|
|
|
import "github.com/sirupsen/logrus"
|
|
|
|
func Debug(msg ...interface{}) {
|
|
logrus.Debug(msg...)
|
|
}
|
|
|
|
func Debugf(format string, args ...interface{}) {
|
|
logrus.Debugf(format, args...)
|
|
}
|
|
|
|
func Info(msg ...interface{}) {
|
|
logrus.Info(msg...)
|
|
}
|
|
|
|
func Infof(format string, args ...interface{}) {
|
|
logrus.Infof(format, args...)
|
|
}
|
|
|
|
func Warn(msg ...interface{}) {
|
|
logrus.Warn(msg...)
|
|
}
|
|
|
|
func Warnf(format string, args ...interface{}) {
|
|
logrus.Warnf(format, args...)
|
|
}
|
|
|
|
func Error(msg ...interface{}) {
|
|
logrus.Error(msg...)
|
|
}
|
|
|
|
func Errorf(format string, args ...interface{}) {
|
|
logrus.Errorf(format, args...)
|
|
}
|