MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / LogError

Method LogError

internal/utils/service.go:66–72  ·  view source on GitHub ↗

LogError 记录错误日志

(msg string)

Source from the content-addressed store, hash-verified

64
65// LogError 记录错误日志
66func (this *ServiceManager) LogError(msg string) {
67 this.setup()
68 if this.logger == nil {
69 return
70 }
71 this.logger.Println("[error]" + msg)
72}
73
74// Close 关闭
75func (this *ServiceManager) Close() error {

Callers 5

TestServiceManager_LogFunction · 0.95
RunMethod · 0.95
ExecuteMethod · 0.95
cmdStartMethod · 0.95
cmdStopMethod · 0.95

Calls 1

setupMethod · 0.95

Tested by 1

TestServiceManager_LogFunction · 0.76