Reset removes all the context fields.
()
| 454 | |
| 455 | // Reset removes all the context fields. |
| 456 | func (c Context) Reset() Context { |
| 457 | c.l.context = enc.AppendBeginMarker(make([]byte, 0, 500)) |
| 458 | return c |
| 459 | } |
| 460 | |
| 461 | type callerHook struct { |
| 462 | callerSkipFrameCount int |