mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			166 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			166 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package utils
 | 
						|
 | 
						|
import "github.com/iwind/TeaGo/logs"
 | 
						|
 | 
						|
func PrintError(err error) {
 | 
						|
	// TODO 记录调用的文件名、行数
 | 
						|
	logs.Println("[ERROR]" + err.Error())
 | 
						|
}
 |