WithFields creates an entry from the standard logger and adds multiple fields to it. This is simply a helper for `WithField`, invoking it once for each field. Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal or Panic on the Entry it returns.
(fields Fields)
| 254 | // Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal |
| 255 | // or Panic on the Entry it returns. |
| 256 | func WithFields(fields Fields) *Entry { |
| 257 | return (*Entry)(logrus.WithFields(logrus.Fields(fields))) |
| 258 | } |
| 259 | |
| 260 | // WithTime add time fields to log entry. |
| 261 | func WithTime(t time.Time) *Entry { |