namespace

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields map[Namespace]interface{}

type Namespace

type Namespace struct {
	Parent     *Namespace
	Identifier string

	IsMetricTag bool
}

func (Namespace) MetricKey

func (l Namespace) MetricKey() string

func (Namespace) Root

func (l Namespace) Root() Namespace

func (Namespace) String

func (l Namespace) String() string

func (Namespace) WithValue

func (l Namespace) WithValue(value any) NamespaceValue

MARK: - Functions

type NamespaceValue

type NamespaceValue struct {
	Namespace Namespace
	Value     any
}

func (NamespaceValue) AsField

func (nv NamespaceValue) AsField(entry *logrus.Entry) *logrus.Entry

func (NamespaceValue) MetricTag

func (nv NamespaceValue) MetricTag() bool

func (NamespaceValue) String

func (nv NamespaceValue) String() string

Jump to

Keyboard shortcuts

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