log

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VerboseFlag bool
	DebugFlag   bool
)

Functions

func Check

func Check(err error)

func Fatalf added in v0.2.0

func Fatalf(format string, args ...interface{})

func HiveLogger added in v0.3.0

func HiveLogger() *logger.Logger

func Init added in v0.2.0

func Init(rootCmd *cobra.Command)

func PrintTable

func PrintTable(header []string, rows [][]string)

func PrintTree added in v0.2.3

func PrintTree(node interface{}, tab, tabwidth int)

func Printf

func Printf(format string, args ...interface{})

func Verbosef added in v0.2.0

func Verbosef(format string, args ...interface{})

Types

type TreeItem added in v0.2.3

type TreeItem struct {
	K string
	V interface{}
}

Jump to

Keyboard shortcuts

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