cmdutil

package
v0.0.0-...-d39c007 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

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

LogLevel implements flag.Value and can be used to set the logging level from a flag. The zero value is ready for use.

func (LogLevel) FilterOption

func (l LogLevel) FilterOption() level.Option

Return l as a FilterOption that can be used with level.NewFilter.

func (*LogLevel) Set

func (l *LogLevel) Set(in string) error

Set implements flag.Value.

func (LogLevel) String

func (l LogLevel) String() string

String implements flag.Value.

Jump to

Keyboard shortcuts

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