(dst []byte, obj LogObjectMarshaler, stack bool, ctx context.Context, hooks []Hook)
| 42 | } |
| 43 | |
| 44 | func appendObject(dst []byte, obj LogObjectMarshaler, stack bool, ctx context.Context, hooks []Hook) []byte { |
| 45 | e := newEvent(LevelWriterAdapter{io.Discard}, DebugLevel, stack, ctx, hooks) |
| 46 | e.buf = e.buf[:0] // discard the beginning marker added by newEvent |
| 47 | e.appendObject(obj) |
| 48 | dst = append(dst, e.buf...) |
| 49 | putEvent(e) |
| 50 | return dst |
| 51 | } |
| 52 | |
| 53 | func appendFieldList(dst []byte, kvList []interface{}, stack bool, ctx context.Context, hooks []Hook) []byte { |
| 54 | for i, n := 0, len(kvList); i < n; i += 2 { |
no test coverage detected