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

logging

package
v0.68.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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(forceLogOutput bool)

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 NilWriter added in v0.67.0

type NilWriter struct {
}

func (*NilWriter) Write added in v0.67.0

func (w *NilWriter) Write(p []byte) (n int, err error)

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