MCPcopy Create free account
hub / github.com/One-com/gone / LogFromCaller

Method LogFromCaller

log/api.go:16–18  ·  view source on GitHub ↗

LogFromCaller is like Log() but lets you offset the calldepth used to compute CodeInfo (file/line) from stack info, the same way as the stdlib log.Output() function does.

(calldepth int, level syslog.Priority, msg string, kv ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

logFromCallerMethod · 0.95

Tested by

no test coverage detected