log

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextKey = contextKey{}

Functions

func Entry

func Entry(ctx context.Context) *logrus.Entry

Entry takes an context.Context and constructs a logrus.Entry from it, adding fields for task and subtask information

Types

type EventContext

type EventContext struct {
	Task    constants.Phase
	Subtask string
}

Jump to

Keyboard shortcuts

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