<commit_before>package logger

import (
	"github.com/pkg/errors"
)

// Loglevel represents a Value for different logging configs.
type Loglevel struct {
	level string
}

// Type returns a name for the value type.
func (l *Loglevel) Type() string {
	return "string"
}

// String represents the default value.
func (l *Loglevel) String() string {
	return "info"
}

// Set configures the loglevel for the application.
func (l *Loglevel) Set(val string) error {
	err := configureLogLevel(val)
	if err != nil {
		return errors.Wrapf(err,"cannot apply loglevel configuration for value '%s'", val)
	}
	return nil
}<commit_msg>gofmt<commit_after>package logger

import (
	"github.com/pkg/errors"
)

// Loglevel represents a Value for different logging configs.
type Loglevel struct {
	level string
}

// Type returns a name for the value type.
func (l *Loglevel) Type() string {
	return "string"
}

// String represents the default value.
func (l *Loglevel) String() string {
	return "info"
}

// Set configures the loglevel for the application.
func (l *Loglevel) Set(val string) error {
	err := configureLogLevel(val)
	if err != nil {
		return errors.Wrapf(err, "cannot apply loglevel configuration for value '%s'", val)
	}
	return nil
}
{'fraction_non_alphanumeric': 0.10885458976441917, 'fraction_numerical': 0.0, 'mean_word_length': 4.049180327868853, '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': '3549049', 'n_tokens_mistral': 398, 'n_tokens_neox': 394, 'n_words': 148}