MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / PrintError

Function PrintError

internal/utils/errors.go:5–8  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

3import "github.com/iwind/TeaGo/logs"
4
5func PrintError(err error) {
6 // TODO 记录调用的文件名、行数
7 logs.Println("[ERROR]" + err.Error())
8}

Callers 2

ContextMethod · 0.92
ClusterContextMethod · 0.92

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected