aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/felix/logger/logger.go
blob: 6bb72989265fe6c05682c1738f61145592a116bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package logger

// Logger defines our methods
type Logger interface {
	Log(level Level, args ...interface{})
	Info(args ...interface{})
	Warn(args ...interface{})
	Debug(args ...interface{})
	Error(args ...interface{})

	WithFields(args ...interface{}) Logger
	Named(name string) Logger
	IsDebug() bool
	IsInfo() bool
	IsWarn() bool
	IsError() bool
}