mirror of
https://github.com/linka-cloud/grpc.git
synced 2026-01-25 11:05:05 +00:00
fix(logger)!: context logger use the StandardLogger as default
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@@ -3,8 +3,6 @@ package logger
|
||||
import (
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -15,7 +13,7 @@ var (
|
||||
type log struct{}
|
||||
|
||||
func init() {
|
||||
defaultLogger = &logger{fl: logrus.New()}
|
||||
defaultLogger = StandardLogger()
|
||||
}
|
||||
|
||||
var C = From
|
||||
|
||||
Reference in New Issue
Block a user