mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-24 11:56:26 +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