Maint: package local narrow Logger interfaces
This commit is contained in:
21
internal/httpproxy/logger.go
Normal file
21
internal/httpproxy/logger.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package httpproxy
|
||||
|
||||
type Logger interface {
|
||||
Debug(s string)
|
||||
infoer
|
||||
Warn(s string)
|
||||
errorer
|
||||
}
|
||||
|
||||
type infoErrorer interface {
|
||||
infoer
|
||||
errorer
|
||||
}
|
||||
|
||||
type infoer interface {
|
||||
Info(s string)
|
||||
}
|
||||
|
||||
type errorer interface {
|
||||
Error(s string)
|
||||
}
|
||||
Reference in New Issue
Block a user