Files
EdgeAdmin/internal/utils/service_test.go
GoEdgeLab d7d0c8fbfe v1.4.1
2024-07-27 15:42:58 +08:00

14 lines
289 B
Go

package utils
import (
"testing"
teaconst "github.com/TeaOSLab/EdgeAdmin/internal/const"
)
func TestServiceManager_Log(t *testing.T) {
manager := NewServiceManager(teaconst.ProductName, teaconst.ProductName+" Server")
manager.Log("Hello, World")
manager.LogError("Hello, World")
}