mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:50:28 +08:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			288 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			288 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package utils
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									teaconst "github.com/TeaOSLab/EdgeAdmin/internal/const"
							 | 
						||
| 
								 | 
							
									"testing"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func TestServiceManager_Log(t *testing.T) {
							 | 
						||
| 
								 | 
							
									manager := NewServiceManager(teaconst.ProductName, teaconst.ProductName+" Server")
							 | 
						||
| 
								 | 
							
									manager.Log("Hello, World")
							 | 
						||
| 
								 | 
							
									manager.LogError("Hello, World")
							 | 
						||
| 
								 | 
							
								}
							 |