mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
646 B
18 lines
646 B
// 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 { |
|
Debug(args ...interface{}) |
|
Info(args ...interface{}) |
|
Warn(args ...interface{}) |
|
Error(args ...interface{}) |
|
|
|
Debugf(format string, args ...interface{}) |
|
Infof(format string, args ...interface{}) |
|
Warnf(format string, args ...interface{}) |
|
Errorf(format string, args ...interface{}) |
|
}
|
|
|