1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-02-04 18:21:53 +02:00
Asim Aslam d94936f6c9
v3 (#2104)
* v3

* revert plugins

* fixup some issues
2021-01-20 13:54:31 +00:00
..
2021-01-20 13:54:31 +00:00
2021-01-20 13:54:31 +00:00

Log

DEPRECATED: use github.com/asim/go-micro/v3/logger interface

This is the global logger for all micro based libraries.

Set Logger

Set the logger for micro libraries

// import go-micro/util/log
import "github.com/micro/go-micro/util/log"

// SetLogger expects github.com/micro/go-micro/debug/log.Log interface
log.SetLogger(mylogger)