This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-02-22 12:19:23 +00:00
|
|
|
// 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 13:35:35 +00:00
|
|
|
Debug(args ...interface{})
|
2019-02-22 20:27:54 +00:00
|
|
|
Info(args ...interface{})
|
|
|
|
Warn(args ...interface{})
|
2019-04-24 13:35:35 +00:00
|
|
|
Error(args ...interface{})
|
2019-02-22 12:19:23 +00:00
|
|
|
|
|
|
|
Debugf(format string, args ...interface{})
|
|
|
|
Infof(format string, args ...interface{})
|
2019-04-24 13:35:35 +00:00
|
|
|
Warnf(format string, args ...interface{})
|
2019-02-22 12:19:23 +00:00
|
|
|
Errorf(format string, args ...interface{})
|
|
|
|
}
|