logger

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 8 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 LoggerTestLogger added in v0.1.26

func LoggerTestLogger(logBuffer *bytes.Buffer) zerolog.Logger

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