MCPcopy Index your code
hub / github.com/upper/db / Stack

Method Stack

logger.go:268–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266}
267
268func (q *QueryStatus) Stack() []string {
269 frames := collectFrames()
270 lines := make([]string, 0, len(frames))
271
272 for _, frame := range frames {
273 lines = append(lines, fmt.Sprintf("%s@%s:%d", frame.Function, frame.File, frame.Line))
274 }
275 return lines
276}
277
278// String returns a formatted log message.
279func (q *QueryStatus) String() string {

Callers 1

StringMethod · 0.95

Calls 1

collectFramesFunction · 0.85

Tested by

no test coverage detected