Documentation ¶
Overview ¶
Package logger contains a wrapper around logrus to support a centralized logging config.
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Setup() error
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func WithFields(fields logrus.Fields) *logrus.Entry
- func Writer() *io.PipeWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *logrus.Logger
Logger is the main logger that is abstracted in this package. It is exported here for use with gorm.
Functions ¶
func Writer ¶
func Writer() *io.PipeWriter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.