MCPcopy Create free account
hub / github.com/BlueSkyXN/AI2API / logError

Function logError

wo2api.go:130–137  ·  view source on GitHub ↗
(format string, v ...interface{})

Source from the content-addressed store, hash-verified

128}
129
130func logError(format string, v ...interface{}) {
131 logMutex.Lock()
132 logger.Printf("[ERROR] "+format, v...)
133 logMutex.Unlock()
134
135 // 错误计数
136 atomic.AddInt64(&errorCounter, 1)
137}
138
139// OpenAI/DeepSeek 消息格式
140type APIMessage struct {

Callers 7

mainFunction · 0.70
saveResponseForAnalysisFunction · 0.70
handleStreamingRequestFunction · 0.70
saveResponseToFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected