mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-12-25 10:20:46 +00:00
logger: add C as From alias
This commit is contained in:
parent
aaf2aa3964
commit
819b3c9ce6
@ -18,6 +18,8 @@ func init() {
|
||||
defaultLogger = &logger{fl: logrus.New()}
|
||||
}
|
||||
|
||||
var C = From
|
||||
|
||||
func SetDefault(logger Logger) {
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user