logger

package
v0.0.20-prerelease18197 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Stderr = struct{ io.Writer }{os.Stderr}
View Source
var Stdout = struct{ io.Writer }{os.Stdout}

Functions

func LogJobEvent added in v0.1.9

func LogJobEvent(event JobEvent)

func LoggerWithNodeAndJobInfo added in v0.1.0

func LoggerWithNodeAndJobInfo(nodeID, jobID string) zerolog.Logger

func LoggerWithRuntimeInfo added in v0.1.0

func LoggerWithRuntimeInfo(runtimeInfo string) zerolog.Logger

Types

type JobEvent added in v0.1.9

type JobEvent struct {
	Type string      `json:"type"`
	Data interface{} `json:"data"`
	Node string      `json:"node"`
	Job  string      `json:"job"`
}

Jump to

Keyboard shortcuts

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