logger

package
v0.1.9-build-testing-9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 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 Initialize added in v0.1.0

func Initialize()

func LogJobEvent added in v0.1.9

func LogJobEvent(event JobEvent)

func LoggerWithNodeAndJobInfo added in v0.1.0

func LoggerWithNodeAndJobInfo(nodeId string, 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