debug

package
v1.8.4-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package debug provides some export nodes that are aimed basically at debugging/testing

Index

Constants

View Source
const (
	TracePrinterDisabled   = TracePrinter("disabled")
	TracePrinterCounter    = TracePrinter("counter")
	TracePrinterText       = TracePrinter("text")
	TracePrinterJSON       = TracePrinter("json")
	TracePrinterJSONIndent = TracePrinter("json_indent")
)

Variables

This section is empty.

Functions

func PrinterNode

func PrinterNode(p TracePrinter) pipe.FinalProvider[[]request.Span]

Types

type PrintEnabled

type PrintEnabled bool

TODO deprecated (REMOVE) - use TracePrinter instead

func (PrintEnabled) Enabled

func (p PrintEnabled) Enabled() bool

type TracePrinter

type TracePrinter string

func (TracePrinter) Enabled

func (t TracePrinter) Enabled() bool

func (TracePrinter) Valid

func (t TracePrinter) Valid() bool

Jump to

Keyboard shortcuts

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