otelzap

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttributesFromZapField

func AttributesFromZapField(f zap.Field) []attribute.KeyValue

func LogSeverityFromZapLevel

func LogSeverityFromZapLevel(level zapcore.Level) log.Severity

Types

type BufferArrayEncoder

type BufferArrayEncoder struct {
	// contains filtered or unexported fields
}

BufferArrayEncoder implements zapcore.BufferArrayEncoder. It represents all added objects to their string values and adds them to the stringsSlice buffer.

func NewBufferArrayEncoder

func NewBufferArrayEncoder() *BufferArrayEncoder

func (*BufferArrayEncoder) AppendArray

func (t *BufferArrayEncoder) AppendArray(v zapcore.ArrayMarshaler) error

func (*BufferArrayEncoder) AppendBool

func (t *BufferArrayEncoder) AppendBool(v bool)

func (*BufferArrayEncoder) AppendByteString

func (t *BufferArrayEncoder) AppendByteString(v []byte)

func (*BufferArrayEncoder) AppendComplex128

func (t *BufferArrayEncoder) AppendComplex128(v complex128)

func (*BufferArrayEncoder) AppendComplex64

func (t *BufferArrayEncoder) AppendComplex64(v complex64)

func (*BufferArrayEncoder) AppendDuration

func (t *BufferArrayEncoder) AppendDuration(v time.Duration)

func (*BufferArrayEncoder) AppendFloat32

func (t *BufferArrayEncoder) AppendFloat32(v float32)

func (*BufferArrayEncoder) AppendFloat64

func (t *BufferArrayEncoder) AppendFloat64(v float64)

func (*BufferArrayEncoder) AppendInt

func (t *BufferArrayEncoder) AppendInt(v int)

func (*BufferArrayEncoder) AppendInt16

func (t *BufferArrayEncoder) AppendInt16(v int16)

func (*BufferArrayEncoder) AppendInt32

func (t *BufferArrayEncoder) AppendInt32(v int32)

func (*BufferArrayEncoder) AppendInt64

func (t *BufferArrayEncoder) AppendInt64(v int64)

func (*BufferArrayEncoder) AppendInt8

func (t *BufferArrayEncoder) AppendInt8(v int8)

func (*BufferArrayEncoder) AppendObject

func (t *BufferArrayEncoder) AppendObject(v zapcore.ObjectMarshaler) error

func (*BufferArrayEncoder) AppendReflected

func (t *BufferArrayEncoder) AppendReflected(v interface{}) error

func (*BufferArrayEncoder) AppendString

func (t *BufferArrayEncoder) AppendString(v string)

func (*BufferArrayEncoder) AppendTime

func (t *BufferArrayEncoder) AppendTime(v time.Time)

func (*BufferArrayEncoder) AppendUint

func (t *BufferArrayEncoder) AppendUint(v uint)

func (*BufferArrayEncoder) AppendUint16

func (t *BufferArrayEncoder) AppendUint16(v uint16)

func (*BufferArrayEncoder) AppendUint32

func (t *BufferArrayEncoder) AppendUint32(v uint32)

func (*BufferArrayEncoder) AppendUint64

func (t *BufferArrayEncoder) AppendUint64(v uint64)

func (*BufferArrayEncoder) AppendUint8

func (t *BufferArrayEncoder) AppendUint8(v uint8)

func (*BufferArrayEncoder) AppendUintptr

func (t *BufferArrayEncoder) AppendUintptr(v uintptr)

func (*BufferArrayEncoder) Result

func (t *BufferArrayEncoder) Result() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL