mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +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())
							 | 
						||
| 
								 | 
							
								}
							 |