func log/slog.String
11 uses
log/slog (current package)
attr.go#L18: func String(key, value string) Attr {
handler.go#L314: state.appendAttr(String(key, msg))
record.go#L114: r.back = append(r.back, String("!BUG", "AddAttrs unsafely called on copy of Record made without using Record.Clone"))
record.go#L172: return String(badKey, x), nil
record.go#L203: as = append(as, String("function", s.Function))
record.go#L206: as = append(as, String("file", s.File))
go.pact.im/x/logs
values.go#L57: slog.String("type", typ.String()),
go.pact.im/x/zapslog
encode.go#L90: e.addAttr(slog.String(key, string(value)))
encode.go#L138: e.addAttr(slog.String(key, value))
zapslog.go#L76: record.AddAttrs(slog.String(loggerNameKey, entry.LoggerName))
zapslog.go#L82: record.AddAttrs(slog.String(stackKey, entry.Stack))