Inline constructs a Field that is similar to Object, but it will add the elements of the provided ObjectMarshaler to the current namespace.
(val zapcore.ObjectMarshaler)
| 408 | // will add the elements of the provided ObjectMarshaler to the |
| 409 | // current namespace. |
| 410 | func Inline(val zapcore.ObjectMarshaler) Field { |
| 411 | return zapcore.Field{ |
| 412 | Type: zapcore.InlineMarshalerType, |
| 413 | Interface: val, |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | // Dict constructs a field containing the provided key-value pairs. |
| 418 | // It acts similar to [Object], but with the fields specified as arguments. |
no outgoing calls