github.com/TeaOSLab/EdgeNode@v1.3.8/internal/utils/service_test.go (about) 1 package utils 2 3 import ( 4 teaconst "github.com/TeaOSLab/EdgeNode/internal/const" 5 "testing" 6 ) 7 8 func TestServiceManager_Log(t *testing.T) { 9 manager := NewServiceManager(teaconst.ProductName, teaconst.ProductName+" Server") 10 manager.Log("Hello, World") 11 manager.LogError("Hello, World") 12 }