Stack enables stack trace printing for the error passed to Err(). ErrorStackMarshaler must be set for this method to do something.
()
| 486 | // |
| 487 | // ErrorStackMarshaler must be set for this method to do something. |
| 488 | func (e *Event) Stack() *Event { |
| 489 | if e != nil { |
| 490 | e.stack = true |
| 491 | } |
| 492 | return e |
| 493 | } |
| 494 | |
| 495 | // Ctx adds the Go Context to the *Event context. The context is not rendered |
| 496 | // in the output message, but is available to hooks and to Func() calls via the |
no outgoing calls