MCPcopy
hub / github.com/uber-go/zap / Next

Method Next

internal/stacktrace/stack.go:127–129  ·  internal/stacktrace/stack.go::Stack.Next

Next returns the next frame in the stack trace, and a boolean indicating whether there are more after it.

()

Source from the content-addressed store, hash-verified

125// Next returns the next frame in the stack trace,
126// and a boolean indicating whether there are more after it.
127func (st *Stack) Next() (_ runtime.Frame, more bool) {
128 return st.frames.Next()
129}
130
131// Take returns a string representation of the current stacktrace.
132//

Callers 15

withBenchedLoggerFunction · 0.80
BenchmarkAddCallerHookFunction · 0.80
checkMethod · 0.80
BenchmarkTeeCheckFunction · 0.80
BenchmarkZapJSONFunction · 0.80
BenchmarkStandardJSONFunction · 0.80
BenchmarkZapConsoleFunction · 0.80
BenchmarkSampler_CheckFunction · 0.80

Calls

no outgoing calls

Tested by 15

withBenchedLoggerFunction · 0.64
BenchmarkAddCallerHookFunction · 0.64
BenchmarkTeeCheckFunction · 0.64
BenchmarkZapJSONFunction · 0.64
BenchmarkStandardJSONFunction · 0.64
BenchmarkZapConsoleFunction · 0.64
BenchmarkSampler_CheckFunction · 0.64