runtimemodules

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Overview

tracer.go core_runtime

Created by karim-w on 08/07/2025.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loggable

type Loggable interface {
	~string | ~int | ~bool | ~float64 | ~int64 | ~uint64 | ~int32 | ~uint32 | ~int16 | ~uint16 | ~int8 | ~uint8 | any
}

type Logger

type Logger interface {
	Info(msg string, args ...LoggerField)
	Warn(msg string, args ...LoggerField)
	Error(msg string, args ...LoggerField)
	With(args ...LoggerField) Logger
}

type LoggerField

type LoggerField struct {
	Key   string
	Value any
}

func Field

func Field[T Loggable](key string, val T) LoggerField

type Tracer

type Tracer interface {
	Trace(tx traces.Span) error
	Close()
}

Jump to

Keyboard shortcuts

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