github.com/TeaOSLab/EdgeNode@v1.3.8/internal/utils/errors.go (about)

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