Vendor main dependencies.
This commit is contained in:
parent
49a09ab7dd
commit
dd5e3fba01
2738 changed files with 1045689 additions and 0 deletions
21
vendor/github.com/ArthurHlt/go-eureka-client/eureka/debug.go
generated
vendored
Normal file
21
vendor/github.com/ArthurHlt/go-eureka-client/eureka/debug.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
package eureka
|
||||
|
||||
import (
|
||||
"github.com/ArthurHlt/gominlog"
|
||||
"log"
|
||||
)
|
||||
|
||||
var logger *gominlog.MinLog
|
||||
|
||||
func GetLogger() *log.Logger {
|
||||
return logger.GetLogger()
|
||||
}
|
||||
|
||||
func SetLogger(loggerLog *log.Logger) {
|
||||
logger.SetLogger(loggerLog)
|
||||
}
|
||||
|
||||
func init() {
|
||||
// Default logger uses the go default log.
|
||||
logger = gominlog.NewClassicMinLogWithPackageName("go-eureka-client")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue