Cleanup go mod
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
# Log
|
||||
|
||||
This is the global logger for all micro based libraries which makes use of [github.com/go-log/log](https://github.com/go-log/log).
|
||||
|
||||
It defaults the logger to the stdlib log implementation.
|
||||
This is the global logger for all micro based libraries.
|
||||
|
||||
## Set Logger
|
||||
|
||||
@@ -12,6 +10,6 @@ Set the logger for micro libraries
|
||||
// import go-micro/util/log
|
||||
import "github.com/micro/go-micro/util/log"
|
||||
|
||||
// SetLogger expects github.com/go-log/log.Logger interface
|
||||
// SetLogger expects github.com/micro/go-micro/debug/log.Log interface
|
||||
log.SetLogger(mylogger)
|
||||
```
|
||||
|
Reference in New Issue
Block a user