type log/slog.Record
28 uses
log/slog (current package)
handler.go#L65: Handle(context.Context, Record) error
handler.go#L114: func (h *defaultHandler) Handle(ctx context.Context, r Record) error {
handler.go#L270: func (h *commonHandler) handle(r Record) error {
handler.go#L326: func (s *handleState) appendNonBuiltIns(r Record) {
handler.go#L642: func (dh discardHandler) Handle(context.Context, Record) error { return nil }
json_handler.go#L88: func (h *JSONHandler) Handle(_ context.Context, r Record) error {
multi_handler.go#L35: func (h *MultiHandler) Handle(ctx context.Context, r Record) error {
record.go#L20: type Record struct {
record.go#L58: func NewRecord(t time.Time, level Level, msg string, pc uintptr) Record {
record.go#L59: return Record{
record.go#L70: func (r Record) Clone() Record {
record.go#L76: func (r Record) NumAttrs() int {
record.go#L82: func (r Record) Attrs(f func(Attr) bool) {
record.go#L97: func (r *Record) AddAttrs(attrs ...Attr) {
record.go#L129: func (r *Record) Add(args ...any) {
record.go#L220: func (r Record) Source() *Source {
text_handler.go#L92: func (h *TextHandler) Handle(_ context.Context, r Record) error {
go.pact.im/x/logs
handler.go#L11: type HandlerFunc func(context.Context, slog.Record) error
handler.go#L20: func (f HandlerFunc) Handle(ctx context.Context, r slog.Record) error {
handler.go#L27: return HandlerFunc(func(ctx context.Context, r slog.Record) error {
handler.go#L38: return HandlerFunc(func(ctx context.Context, r slog.Record) error {
handler.go#L48: func slogRecordAddAttrs(r slog.Record, attrs ...slog.Attr) slog.Record {
handler.go#L60: Handle func(ctx context.Context, r slog.Record, next slog.Handler) error
handler.go#L89: func (h *WrapHandler) Handle(ctx context.Context, r slog.Record) error {
handler.go#L135: func (f *ExpiredContextFilter) Handle(ctx context.Context, r slog.Record, next slog.Handler) error {
handler.go#L187: func (f *LevelLimitFilter) Handle(ctx context.Context, r slog.Record, next slog.Handler) error {