FormatFrame formats the given frame.
(frame runtime.Frame)
| 168 | |
| 169 | // FormatFrame formats the given frame. |
| 170 | func (sf *Formatter) FormatFrame(frame runtime.Frame) { |
| 171 | if sf.nonEmpty { |
| 172 | sf.b.AppendByte('\n') |
| 173 | } |
| 174 | sf.nonEmpty = true |
| 175 | sf.b.AppendString(frame.Function) |
| 176 | sf.b.AppendByte('\n') |
| 177 | sf.b.AppendByte('\t') |
| 178 | sf.b.AppendString(frame.File) |
| 179 | sf.b.AppendByte(':') |
| 180 | sf.b.AppendInt(int64(frame.Line)) |
| 181 | } |
no test coverage detected