MCPcopy Create free account
hub / github.com/coder/slog / M

Function M

slog.go:240–242  ·  view source on GitHub ↗

M is a convenience constructor for Map

(fs ...Field)

Source from the content-addressed store, hash-verified

238
239// M is a convenience constructor for Map
240func M(fs ...Field) Map {
241 return fs
242}
243
244// Error is the standard key used for logging a Go error value.
245func Error(err error) Field {

Callers 1

encodeJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected