MCPcopy Create free account
hub / github.com/bracesdev/errtrace / logf

Method logf

cmd/errtrace/main.go:702–705  ·  view source on GitHub ↗
(pos token.Pos, format string, args ...interface{})

Source from the content-addressed store, hash-verified

700var _ ast.Visitor = (*walker)(nil)
701
702func (t *walker) logf(pos token.Pos, format string, args ...interface{}) {
703 msg := fmt.Sprintf(format, args...)
704 t.logger.Printf("%s:%s", t.fset.Position(pos), msg)
705}
706
707func (t *walker) Visit(n ast.Node) ast.Visitor {
708 switch n := n.(type) {

Callers 3

returnStmtMethod · 0.95
deferStmtMethod · 0.95
wrapReturnCallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected