WithFields returns a new fielder that has all the fields of the other fielder.
(fields Fielder)
| 106 | |
| 107 | // WithFields returns a new fielder that has all the fields of the other fielder. |
| 108 | func (f *F) WithFields(fields Fielder) *F { |
| 109 | return f.With(fields.Fields()) |
| 110 | } |
| 111 | |
| 112 | // WithError returns new fields that contain the passed error and all its fields (if any). |
| 113 | func (f *F) WithError(err error) *F { |