MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / error

Method error

client/log.go:40–44  ·  view source on GitHub ↗
(msg string, args ...any)

Source from the content-addressed store, hash-verified

38}
39
40func (c *QQClient) error(msg string, args ...any) {
41 if c.logger != nil {
42 c.logger.Error(log.Getcaller(msg), args...)
43 }
44}
45
46func (c *QQClient) errorln(msgs ...any) {
47 if c.logger != nil {

Callers 8

doHeartbeatMethod · 0.95
ConnectionQualityTestMethod · 0.95
connectMethod · 0.95
quickReconnectMethod · 0.95
unexpectedDisconnectMethod · 0.95
netLoopMethod · 0.95
dispatchMethod · 0.80

Calls 2

GetcallerFunction · 0.92
ErrorMethod · 0.65

Tested by

no test coverage detected