Documentation ¶
Index ¶
- func GetFields(ctx context.Context) logrus.Fields
- func PutField(c *context.Context, key string, value interface{})
- type EchoLogrus
- func (l *EchoLogrus) Debugj(j log.JSON)
- func (l *EchoLogrus) Errorj(j log.JSON)
- func (l *EchoLogrus) Fatalj(j log.JSON)
- func (l *EchoLogrus) Infoj(j log.JSON)
- func (l *EchoLogrus) Level() log.Lvl
- func (l *EchoLogrus) Output() io.Writer
- func (l *EchoLogrus) Panicj(j log.JSON)
- func (l *EchoLogrus) Prefix() string
- func (l *EchoLogrus) Printj(j log.JSON)
- func (l *EchoLogrus) SetHeader(string)
- func (l *EchoLogrus) SetLevel(lvl log.Lvl)
- func (l *EchoLogrus) SetPrefix(prefix string)
- func (l *EchoLogrus) Warnj(j log.JSON)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EchoLogrus ¶
EchoLogrus is implementation of echo Logger
func EchoLogger ¶
func EchoLogger(logger *logrus.Logger) *EchoLogrus
EchoLogger logrus logger in echo log interface
func (*EchoLogrus) SetHeader ¶
func (l *EchoLogrus) SetHeader(string)
SetHeader to set header (NOT SUPPORTED)
func (*EchoLogrus) SetLevel ¶
func (l *EchoLogrus) SetLevel(lvl log.Lvl)
SetLevel set level to logger from given log.Lvl
func (*EchoLogrus) SetPrefix ¶
func (l *EchoLogrus) SetPrefix(prefix string)
SetPrefix to set prefix
Click to show internal directories.
Click to hide internal directories.