Cleanup go mod

This commit is contained in:
Asim Aslam
2019-12-18 16:12:25 +00:00
parent f0e841595c
commit 2338e7c9d2
6 changed files with 100 additions and 40 deletions

View File

@@ -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)
```