Documentation
¶
Index ¶
- Variables
- func New() *logrus.Entry
- func NewWithContext(ctx context.Context) *logrus.Entry
- type Logrus
- func (l Logrus) Debug(i ...interface{})
- func (l Logrus) Debugj(j log.JSON)
- func (l Logrus) Error(i ...interface{})
- func (l Logrus) Errorj(j log.JSON)
- func (l Logrus) Fatal(i ...interface{})
- func (l Logrus) Fatalj(j log.JSON)
- func (l Logrus) Info(i ...interface{})
- func (l Logrus) Infoj(j log.JSON)
- func (l Logrus) Level() log.Lvl
- func (l Logrus) Output() io.Writer
- func (l Logrus) Panic(i ...interface{})
- func (l Logrus) Panicj(j log.JSON)
- func (l Logrus) Prefix() string
- func (l Logrus) Print(i ...interface{})
- func (l Logrus) Printj(j log.JSON)
- func (l Logrus) SetHeader(_ string)
- func (l Logrus) SetLevel(lvl log.Lvl)
- func (l Logrus) SetOutput(w io.Writer)
- func (l Logrus) SetPrefix(s string)
- func (l Logrus) Warn(i ...interface{})
- func (l Logrus) Warnj(j log.JSON)
- func (l Logrus) WithRequestID(requestID string)
- func (l Logrus) WithUserID(userID int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Branch string = "default branch" Commit string = "default commit" )
View Source
var Logger *logrus.Logger = logrus.New()
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.