printer

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

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

func New

func New(stdout, stderr io.Writer) *Printer

func (*Printer) PrintJSON

func (p *Printer) PrintJSON(val any, colorLevel outputcolor.Level) error

func (*Printer) PrintProtoJSON

func (p *Printer) PrintProtoJSON(message proto.Message, colorLevel outputcolor.Level) error

func (*Printer) PrintProtoYAML added in v0.16.0

func (p *Printer) PrintProtoYAML(message proto.Message, colorLevel outputcolor.Level, indent int) error

func (*Printer) PrintTrace

func (p *Printer) PrintTrace(trace *enginev1.Trace)

func (*Printer) Printf

func (p *Printer) Printf(format string, args ...any)

func (*Printer) Println

func (p *Printer) Println(args ...any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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