mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7375507eea
Update swarmkit to deec7ba2c4ef48f20ebe9674afbcced606a5339e, from the master branch. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
13 lines
243 B
Go
13 lines
243 B
Go
package log
|
|
|
|
import (
|
|
"golang.org/x/net/context"
|
|
"google.golang.org/grpc/grpclog"
|
|
)
|
|
|
|
func init() {
|
|
ctx := WithModule(context.Background(), "grpc")
|
|
|
|
// completely replace the grpc logger with the logrus logger.
|
|
grpclog.SetLogger(G(ctx))
|
|
}
|