Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface { PrepareBuffer(dst []byte, key string, level log.Level) []byte FinalizeBuffer(dst []byte, metricTime time.Time) []byte AppendParts(b []byte, bb [][]byte) []byte AppendIntField(b []byte, key string, v int64, fmt logfmt.LogFieldFormat) []byte AppendUintField(b []byte, key string, v uint64, fmt logfmt.LogFieldFormat) []byte AppendBoolField(b []byte, key string, v bool, fmt logfmt.LogFieldFormat) []byte AppendFloatField(b []byte, key string, v float64, fmt logfmt.LogFieldFormat) []byte AppendComplexField(b []byte, key string, v complex128, fmt logfmt.LogFieldFormat) []byte AppendStrField(b []byte, key string, v string, fmt logfmt.LogFieldFormat) []byte AppendIntfField(b []byte, key string, v interface{}, fmt logfmt.LogFieldFormat) []byte AppendRawJSONField(b []byte, key string, v interface{}, fmt logfmt.LogFieldFormat) []byte AppendTimeField(b []byte, key string, v time.Time, fmt logfmt.LogFieldFormat) []byte }
type EncoderFactory ¶
type FactoryDispatcherFunc ¶
type FactoryDispatcherFunc func(string) EncoderFactory
Click to show internal directories.
Click to hide internal directories.