Fix godoc comment on LogEntry.Panic

This commit is contained in:
Cameron Moore 2020-05-28 18:17:41 -05:00
parent e71b45b28f
commit cc98de88ce

View file

@ -50,7 +50,7 @@ func (l *LogEntry) Write(status, bytes int, elapsed time.Duration) {
log.Print(l.buf.String())
}
/// Panic prints the call stack for a panic.
// Panic prints the call stack for a panic.
func (l *LogEntry) Panic(v interface{}, stack []byte) {
e := l.NewLogEntry(l.req).(*LogEntry)
fmt.Fprintf(e.buf, "panic: %#v", v)