WithField adds a single field to the Entry.
(key string, value interface{})
| 121 | |
| 122 | // WithField adds a single field to the Entry. |
| 123 | func (entry *Entry) WithField(key string, value interface{}) *Entry { |
| 124 | return entry.WithFields(Fields{key: value}) |
| 125 | } |
| 126 | |
| 127 | // WithFields adds a map of fields to the Entry. |
| 128 | func (entry *Entry) WithFields(fields Fields) *Entry { |