mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix bug related to log
This commit is contained in:
		@@ -21,8 +21,6 @@ func init() {
 | 
			
		||||
func NewLogger(bufLen int64, mode, config string) {
 | 
			
		||||
	Mode, Config = mode, config
 | 
			
		||||
	logger = logs.NewLogger(bufLen)
 | 
			
		||||
	logger.EnableFuncCallDepth(true)
 | 
			
		||||
	logger.SetLogFuncCallDepth(4)
 | 
			
		||||
	logger.SetLogger(mode, config)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user