verbose

package
v0.40.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger func(ctx context.Context) *zap.Logger

A function which will be called for logging throughout the doltcore/store layer. Defaults to logging to STDERR at Debug level if --verbose is set and Warn level if --verbose is not set.

May be called with `nil` context in non-context-aware functions.

Functions

func RegisterVerboseFlags

func RegisterVerboseFlags(flags *flag.FlagSet)

RegisterVerboseFlags registers -v|--verbose flags for general usage

func SetVerbose

func SetVerbose(v bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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