We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff09b13 commit c605e28Copy full SHA for c605e28
1 file changed
stack.go
@@ -79,6 +79,14 @@ func (f Frame) Format(s fmt.State, verb rune) {
79
// StackTrace is stack of Frames from innermost (newest) to outermost (oldest).
80
type StackTrace []Frame
81
82
+// Format formats the stack of Frames according to the fmt.Formatter interface.
83
+//
84
+// %s lists source files for each Frame in the stack
85
+// %v lists the source file and line number for each Frame in the stack
86
87
+// Format accepts flags that alter the printing of some verbs, as follows:
88
89
+// %+v Prints filename, function, and line number for each Frame in the stack.
90
func (st StackTrace) Format(s fmt.State, verb rune) {
91
switch verb {
92
case 'v':
0 commit comments