Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAttrs ¶
AppendAttrs appends <name,value> pairs found in attrs to prefix and returns the resulting slice. It never appends in place.
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, attrs ...any) Info(msg string, attrs ...any) Error(msg string, err error, attrs ...any) }
Logger is a subset of weaver.Logger so that lower-level modules do not need to depend on weaver. A Logger can safely be used concurrently from multiple goroutines.
Click to show internal directories.
Click to hide internal directories.