ObjectsV adds the field key with objs as an array of objects that implement the LogObjectMarshaler interface to the event. This is a variadic version that accepts a list of individual LogObjectMarshaler objects.
(key string, objs ...LogObjectMarshaler)
| 288 | // |
| 289 | // This is a variadic version that accepts a list of individual LogObjectMarshaler objects. |
| 290 | func (e *Event) ObjectsV(key string, objs ...LogObjectMarshaler) *Event { |
| 291 | return e.Objects(key, objs) |
| 292 | } |
| 293 | |
| 294 | // Func allows an anonymous func to run only if the event is enabled. |
| 295 | func (e *Event) Func(f func(e *Event)) *Event { |