MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / specifyContext

Function specifyContext

utils/github/cihub/seelog/common_context.go:97–109  ·  view source on GitHub ↗

Returns context of the function with placed "skip" stack frames of the caller If skip == 0 then behaves like currentContext Context is returned in any situation, even if error occurs. But, if an error occurs, the returned context is an error context, which contains no paths or names, but states that

(skip int, custom interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

currentContextFunction · 0.85
logMethod · 0.85

Calls 2

extractCallerInfoFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected