mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			167 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			167 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package configutils
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "github.com/iwind/TeaGo/logs"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 记录错误
							 | 
						||
| 
								 | 
							
								func LogError(arg ...interface{}) {
							 | 
						||
| 
								 | 
							
									if len(arg) == 0 {
							 | 
						||
| 
								 | 
							
										return
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									logs.Println(arg...)
							 | 
						||
| 
								 | 
							
								}
							 |