logging

package
v2.31.10 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogKeyBaseDir       = "base-dir"
	LogKeyDir           = "dir"
	LogKeyDryRun        = "dry-run"
	LogKeyFile          = "file"
	LogKeyInterface     = "interface"
	LogKeyImport        = "import"
	LogKeyPath          = "path"
	LogKeyQualifiedName = "qualified-name"
	LogKeyPackageName   = "package-name"
)

Variables

View Source
var ErrPkgNotExist = errors.New("package does not exist")
View Source
var SemVer = ""

SemVer is the version of mockery at build time.

Functions

func DocsURL

func DocsURL(relativePath string) string

func GetLogger

func GetLogger(levelStr string) (zerolog.Logger, error)

func GetMinorSemver

func GetMinorSemver() string

GetMinorSemver returns the semantic version up to and including the minor version.

func GetSemverInfo

func GetSemverInfo() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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