temporal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterRawMessage

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

func (*AdapterRawMessage) Debug

func (t *AdapterRawMessage) Debug(msg string, keyvals ...interface{})

func (*AdapterRawMessage) Error

func (t *AdapterRawMessage) Error(msg string, keyvals ...interface{})

func (*AdapterRawMessage) Info

func (t *AdapterRawMessage) Info(msg string, keyvals ...interface{})

func (*AdapterRawMessage) Warn

func (t *AdapterRawMessage) Warn(msg string, keyvals ...interface{})

type AdapterSplitter

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

AdapterSplitter basic adapter of temporal logger to spans assumes that keyvals are (key,value) pairs to have some semblance of structure implements

type Logger interface {
		Debug(msg string, keyvals ...interface{})
		Info(msg string, keyvals ...interface{})
		Warn(msg string, keyvals ...interface{})
		Error(msg string, keyvals ...interface{})
}

without the dependency, so be warned

func NewAdapterRawMessage

func NewAdapterRawMessage(trs klogga.TracerProvider) *AdapterSplitter

func NewAdapterSplitter

func NewAdapterSplitter(trs klogga.TracerProvider) *AdapterSplitter

func (*AdapterSplitter) Debug

func (t *AdapterSplitter) Debug(msg string, keyvals ...interface{})

func (*AdapterSplitter) Error

func (t *AdapterSplitter) Error(msg string, keyvals ...interface{})

func (*AdapterSplitter) Info

func (t *AdapterSplitter) Info(msg string, keyvals ...interface{})

func (*AdapterSplitter) Warn

func (t *AdapterSplitter) Warn(msg string, keyvals ...interface{})

Jump to

Keyboard shortcuts

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