mirror of
https://github.com/labstack/echo.git
synced 2025-01-26 03:20:08 +02:00
a98843b6e5
Signed-off-by: Vishal Rana <vr@labstack.com>
24 lines
479 B
Go
24 lines
479 B
Go
package log
|
|
|
|
import "io"
|
|
|
|
type (
|
|
// Logger defines the logging interface.
|
|
Logger interface {
|
|
SetOutput(io.Writer)
|
|
SetLevel(uint8)
|
|
Print(...interface{})
|
|
Printf(string, ...interface{})
|
|
Debug(...interface{})
|
|
Debugf(string, ...interface{})
|
|
Info(...interface{})
|
|
Infof(string, ...interface{})
|
|
Warn(...interface{})
|
|
Warnf(string, ...interface{})
|
|
Error(...interface{})
|
|
Errorf(string, ...interface{})
|
|
Fatal(...interface{})
|
|
Fatalf(string, ...interface{})
|
|
}
|
|
)
|