2019-02-22 17:49:23 +05:30
|
|
|
// Package log provides a logger interface for logger libraries
|
|
|
|
// so that dex does not depend on any of them directly.
|
|
|
|
// It also includes a default implementation using Logrus (used by dex previously).
|
|
|
|
package log
|
|
|
|
|
|
|
|
// Logger serves as an adapter interface for logger libraries
|
|
|
|
// so that dex does not depend on any of them directly.
|
|
|
|
type Logger interface {
|
2019-04-24 19:05:35 +05:30
|
|
|
Debug(args ...interface{})
|
2019-02-23 01:57:54 +05:30
|
|
|
Info(args ...interface{})
|
|
|
|
Warn(args ...interface{})
|
2019-04-24 19:05:35 +05:30
|
|
|
Error(args ...interface{})
|
2019-02-22 17:49:23 +05:30
|
|
|
|
|
|
|
Debugf(format string, args ...interface{})
|
|
|
|
Infof(format string, args ...interface{})
|
2019-04-24 19:05:35 +05:30
|
|
|
Warnf(format string, args ...interface{})
|
2019-02-22 17:49:23 +05:30
|
|
|
Errorf(format string, args ...interface{})
|
|
|
|
}
|