WithField add a single field to the Entry.
(key string, value interface{})
| 46 | |
| 47 | // WithField add a single field to the Entry. |
| 48 | func (entry *Entry) WithField(key string, value interface{}) *Entry { |
| 49 | return (*Entry)((*logrus.Entry)(entry).WithField(key, value)) |
| 50 | } |
| 51 | |
| 52 | // WithFields add a map of fields to the Entry. |
| 53 | func (entry *Entry) WithFields(fields Fields) *Entry { |
no outgoing calls