display

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Out io.Writer = os.Stdout
	Err io.Writer = os.Stderr
)

Functions

func ErrF

func ErrF(format string, args ...interface{}) (n int, err error)

func OutF

func OutF(format string, args ...interface{}) (n int, err error)

func OutputLogLines

func OutputLogLines(header string, logLines []LogLine)

func SetErr

func SetErr(err io.Writer)

func SetLogHeader

func SetLogHeader(logHeader string)

func SetOut

func SetOut(out io.Writer)

Types

type LogLine

type LogLine struct {
	Timestamp string
	Message   string
}

Jump to

Keyboard shortcuts

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