log

package
v1.11.1-0...-d84bc69 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LibraryRepository string

LibraryRepository that is passed into with -ldflags

Functions

func DeferExitHandler

func DeferExitHandler(handler func())

DeferExitHandler registers a logrus exit handler to allow cleanup activities.

func Entry

func Entry() *logrus.Entry

Entry returns the logger entry or creates one if none is present.

func SetStepName

func SetStepName(stepName string)

SetStepName sets the stepName field.

func SetVerbose

func SetVerbose(verbose bool)

SetVerbose sets the log level with respect to verbose flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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