add source with func name
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
andrey
2024-01-02 20:20:02 +03:00
parent 9a61d4b9d3
commit 1de7cc0034
7 changed files with 113 additions and 7 deletions

View File

@@ -86,6 +86,7 @@ func WithContextValue(keys ...fmt.Stringer) Middleware {
}
// WithCaller adds called file.
// Deprecated: use WithSource.
func WithCaller(key string, depth int, full bool) Middleware {
const offset = 2