Help us shape the future of Go! Take the 2026 Go Developer Survey

logging

package
v0.61.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTaskLogger added in v0.35.0

func CreateTaskLogger(config *types.BaseTargetConfig, jobId string, taskId string) (*types.BaseTargetConfig, func() error, error)

func SetupLogging

func SetupLogging()

Types

type LogFileToTaskInput added in v0.35.0

type LogFileToTaskInput struct {
	JobId   graphql.ID `json:"jobId"`
	JobType string     `json:"jobType"`
	FileKey string     `json:"fileKey"`
}

type WarningCollector added in v0.37.0

type WarningCollector interface {
	GetWarnings() []string
}

func CreateWarningCapturingLogger added in v0.37.0

func CreateWarningCapturingLogger(config *types.BaseTargetConfig) (*types.BaseTargetConfig, WarningCollector, func(), error)

Jump to

Keyboard shortcuts

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