<commit_before>// Package discard implements a no-op handler useful for benchmarks and tests.
package discard

import (
	"github.com/apex/log"
)

// Handler implementation.
type Handler struct{}

// New handler.
func New() *Handler {
	return &Handler{}
}

// HandleLog implements log.Handler.
func (h *Handler) HandleLog(e *log.Entry) error {
	return nil
}
<commit_msg>add discard.Default<commit_after>// Package discard implements a no-op handler useful for benchmarks and tests.
package discard

import (
	"github.com/apex/log"
)

// Default handler.
var Default = New()

// Handler implementation.
type Handler struct{}

// New handler.
func New() *Handler {
	return &Handler{}
}

// HandleLog implements log.Handler.
func (h *Handler) HandleLog(e *log.Entry) error {
	return nil
}

{'fraction_non_alphanumeric': 0.11847133757961784, 'fraction_numerical': 0.0, 'mean_word_length': 3.9125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4524328', 'n_tokens_mistral': 249, 'n_tokens_neox': 237, 'n_words': 84}