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

log

package
v1.233.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Members

func Members(step string, prefix func(*starlark.Thread) string, sink func() Logger) starlark.StringDict

Members builds log.trace/debug/info/warn/error. Diagnostics go to the Atmos logger only: never to the script's stdout, so they cannot become the step value.

Types

type Logger

type Logger interface {
	Trace(msg interface{}, keyvals ...interface{})
	Debug(msg interface{}, keyvals ...interface{})
	Info(msg interface{}, keyvals ...interface{})
	Warn(msg interface{}, keyvals ...interface{})
	Error(msg interface{}, keyvals ...interface{})
}

Logger is the diagnostics sink behind the `log` module. It is satisfied by *log.AtmosLogger, which honors --logs-level, ATMOS_LOGS_LEVEL, and logs.file.

Jump to

Keyboard shortcuts

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