Documentation ¶
Index ¶
- func NewOutput(cfg sharedconfiginterface.Configurator) (out *os.File, cancel func(), err error)
- type Logrus
- func (l *Logrus) Debug(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) DebugMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
- func (l *Logrus) Error(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) ErrorMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
- func (l *Logrus) Fatal(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) FatalMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
- func (l *Logrus) Info(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) InfoMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
- func (l *Logrus) Panic(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) PanicMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
- func (l *Logrus) Warning(ctx context.Context, err error, fields loggerinterface.Fields) error
- func (l *Logrus) WarningMsg(ctx context.Context, msg string, fields loggerinterface.Fields)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOutput ¶
func NewOutput(cfg sharedconfiginterface.Configurator) (out *os.File, cancel func(), err error)
Types ¶
type Logrus ¶
type Logrus struct {
// contains filtered or unexported fields
}
func NewLogrus ¶
func NewLogrus( cfg sharedloggerinterface.Configurator, output loggerinterface.Outputer, ) ( logger *Logrus, cancel loggerinterface.CancelFunc, err error, )
func (*Logrus) WarningMsg ¶
Click to show internal directories.
Click to hide internal directories.