mirror of
https://github.com/foomo/posh.git
synced 2025-10-16 12:45:38 +00:00
19 lines
463 B
Go
19 lines
463 B
Go
package log
|
|
|
|
type Logger interface {
|
|
Level() Level
|
|
Print(a ...interface{})
|
|
Printf(format string, a ...interface{})
|
|
Debug(a ...interface{})
|
|
Debugf(format string, a ...interface{})
|
|
Info(a ...interface{})
|
|
Infof(format string, a ...interface{})
|
|
Warn(a ...interface{})
|
|
Warnf(format string, a ...interface{})
|
|
Error(a ...interface{})
|
|
Errorf(format string, a ...interface{})
|
|
Fatal(a ...interface{})
|
|
Fatalf(format string, a ...interface{})
|
|
Must(err error)
|
|
}
|