Documentation ¶
Index ¶
- type WrappedEchoLogger
- func (wel *WrappedEchoLogger) Debug(i ...interface{})
- func (wel *WrappedEchoLogger) Debugf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Debugj(j echo.JSON)
- func (wel *WrappedEchoLogger) Error(i ...interface{})
- func (wel *WrappedEchoLogger) Errorf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Errorj(j echo.JSON)
- func (wel *WrappedEchoLogger) Fatal(i ...interface{})
- func (wel *WrappedEchoLogger) Fatalf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Fatalj(j echo.JSON)
- func (wel *WrappedEchoLogger) Info(i ...interface{})
- func (wel *WrappedEchoLogger) Infof(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Infoj(j echo.JSON)
- func (wel *WrappedEchoLogger) Level() echo.Lvl
- func (wel *WrappedEchoLogger) Output() io.Writer
- func (wel *WrappedEchoLogger) Panic(i ...interface{})
- func (wel *WrappedEchoLogger) Panicf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Panicj(j echo.JSON)
- func (wel *WrappedEchoLogger) Prefix() string
- func (wel *WrappedEchoLogger) Print(i ...interface{})
- func (wel *WrappedEchoLogger) Printf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Printj(j echo.JSON)
- func (wel *WrappedEchoLogger) SetHeader(_ string)
- func (wel *WrappedEchoLogger) SetLevel(v echo.Lvl)
- func (wel *WrappedEchoLogger) SetOutput(_ io.Writer)
- func (wel *WrappedEchoLogger) SetPrefix(p string)
- func (wel *WrappedEchoLogger) Warn(i ...interface{})
- func (wel *WrappedEchoLogger) Warnf(format string, args ...interface{})
- func (wel *WrappedEchoLogger) Warnj(j echo.JSON)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WrappedEchoLogger ¶
type WrappedEchoLogger struct {
// contains filtered or unexported fields
}
WrappedEchoLogger that can be passed to Echo middleware for Datadog integration implements Echo Logger from vendor/github.com/labstack/echo/v4/log.go
func NewWrappedEchoLogger ¶
func NewWrappedEchoLogger() *WrappedEchoLogger
NewWrappedEchoLogger instance
func (*WrappedEchoLogger) Debug ¶
func (wel *WrappedEchoLogger) Debug(i ...interface{})
Debug logs at the debug level
func (*WrappedEchoLogger) Debugf ¶
func (wel *WrappedEchoLogger) Debugf(format string, args ...interface{})
Debugf logs formatted output at the debug level
func (*WrappedEchoLogger) Debugj ¶
func (wel *WrappedEchoLogger) Debugj(j echo.JSON)
Debugj marshals a map to JSON and and logs it at the debug level
func (*WrappedEchoLogger) Error ¶
func (wel *WrappedEchoLogger) Error(i ...interface{})
Error logs at the error level
func (*WrappedEchoLogger) Errorf ¶
func (wel *WrappedEchoLogger) Errorf(format string, args ...interface{})
Errorf logs formatted output at the error level
func (*WrappedEchoLogger) Errorj ¶
func (wel *WrappedEchoLogger) Errorj(j echo.JSON)
Errorj marshals a map to JSON and and logs it at the error level
func (*WrappedEchoLogger) Fatal ¶
func (wel *WrappedEchoLogger) Fatal(i ...interface{})
Fatal logs fatally
func (*WrappedEchoLogger) Fatalf ¶
func (wel *WrappedEchoLogger) Fatalf(format string, args ...interface{})
Fatalf logs formatted output fatally
func (*WrappedEchoLogger) Fatalj ¶
func (wel *WrappedEchoLogger) Fatalj(j echo.JSON)
Fatalj marshals a map to JSON and and logs it fatally
func (*WrappedEchoLogger) Info ¶
func (wel *WrappedEchoLogger) Info(i ...interface{})
Info logs at the info level
func (*WrappedEchoLogger) Infof ¶
func (wel *WrappedEchoLogger) Infof(format string, args ...interface{})
Infof logs formatted output at the info level
func (*WrappedEchoLogger) Infoj ¶
func (wel *WrappedEchoLogger) Infoj(j echo.JSON)
Infoj marshals a map to JSON and and logs it at the info level
func (*WrappedEchoLogger) Level ¶
func (wel *WrappedEchoLogger) Level() echo.Lvl
Level returns a mapped Echo log level
func (*WrappedEchoLogger) Output ¶
func (wel *WrappedEchoLogger) Output() io.Writer
Output not supported to access in Coop logger, so it's returns only stub
func (*WrappedEchoLogger) Panic ¶
func (wel *WrappedEchoLogger) Panic(i ...interface{})
Panic wraps a call to Fatal
func (*WrappedEchoLogger) Panicf ¶
func (wel *WrappedEchoLogger) Panicf(format string, args ...interface{})
Panicf wraps a call to Fatalf
func (*WrappedEchoLogger) Panicj ¶
func (wel *WrappedEchoLogger) Panicj(j echo.JSON)
Panicj wraps a call to Fatalj
func (*WrappedEchoLogger) Prefix ¶
func (wel *WrappedEchoLogger) Prefix() string
Prefix returns the current log prefix
func (*WrappedEchoLogger) Print ¶
func (wel *WrappedEchoLogger) Print(i ...interface{})
Print logs at the info level
func (*WrappedEchoLogger) Printf ¶
func (wel *WrappedEchoLogger) Printf(format string, args ...interface{})
Printf logs formatted output at the info level
func (*WrappedEchoLogger) Printj ¶
func (wel *WrappedEchoLogger) Printj(j echo.JSON)
Printj marshals a map to JSON and and logs it at the info level
func (*WrappedEchoLogger) SetHeader ¶
func (wel *WrappedEchoLogger) SetHeader(_ string)
SetHeader not supported
func (*WrappedEchoLogger) SetLevel ¶
func (wel *WrappedEchoLogger) SetLevel(v echo.Lvl)
SetLevel maps the log level from an Echo log level
func (*WrappedEchoLogger) SetOutput ¶
func (wel *WrappedEchoLogger) SetOutput(_ io.Writer)
SetOutput not supported to change in Coop logger, accepting only stub
func (*WrappedEchoLogger) SetPrefix ¶
func (wel *WrappedEchoLogger) SetPrefix(p string)
SetPrefix sets a string that will be prefixed to each log line
func (*WrappedEchoLogger) Warn ¶
func (wel *WrappedEchoLogger) Warn(i ...interface{})
Warn logs at the warn level
func (*WrappedEchoLogger) Warnf ¶
func (wel *WrappedEchoLogger) Warnf(format string, args ...interface{})
Warnf logs formatted output at the warn level
func (*WrappedEchoLogger) Warnj ¶
func (wel *WrappedEchoLogger) Warnj(j echo.JSON)
Warnj marshals a map to JSON and and logs it at the warn level