mirror of
				https://github.com/linka-cloud/grpc.git
				synced 2025-11-04 03:21:50 +00:00 
			
		
		
		
	logger: add C as From alias
This commit is contained in:
		@@ -18,6 +18,8 @@ func init() {
 | 
				
			|||||||
	defaultLogger = &logger{fl: logrus.New()}
 | 
						defaultLogger = &logger{fl: logrus.New()}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var C = From
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func SetDefault(logger Logger) {
 | 
					func SetDefault(logger Logger) {
 | 
				
			||||||
	mu.Lock()
 | 
						mu.Lock()
 | 
				
			||||||
	defer mu.Unlock()
 | 
						defer mu.Unlock()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user