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

Method Count

internal/stacktrace/stack.go:121–123  ·  view source on GitHub ↗

Count reports the total number of frames in this stacktrace. Count DOES NOT change as Next is called.

()

Source from the content-addressed store, hash-verified

119// Count reports the total number of frames in this stacktrace.
120// Count DOES NOT change as Next is called.
121func (st *Stack) Count() int {
122 return len(st.pcs)
123}
124
125// Next returns the next frame in the stack trace,
126// and a boolean indicating whether there are more after it.

Callers 1

checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected