<commit_before>// Copyright 2013, <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package logging

import (
	"fmt"
	"io"
	"log"
	"os"
)

type color int

// color values
const (
	ColorBlack = iota + 30
	ColorRed
	ColorGreen
	ColorYellow
	ColorBlue
	ColorMagenta
	ColorCyan
	ColorWhite
)

var (
	colors = []string{
		CRITICAL: ColorSeq(ColorMagenta),
		ERROR:    ColorSeq(ColorRed),
		WARNING:  ColorSeq(ColorYellow),
		NOTICE:   ColorSeq(ColorGreen),
		DEBUG:    ColorSeq(ColorCyan),
	}
	boldcolors = []string{
		CRITICAL: ColorSeqBold(ColorMagenta),
		ERROR:    ColorSeqBold(ColorRed),<commit_msg>sync from faygo<commit_after>// Copyright 2013, <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package logging

import (
	"fmt"
	"io"
	"log"
	"os"
)

type color int

// color values
const (
	ColorBlack = iota + 30
	ColorRed
	ColorGreen
	ColorYellow
	ColorBlue
	ColorMagenta
	ColorCyan
	ColorWhite
)

// background color values
const (
	ColorBlackBg = iota + 40
	ColorRedBg
	ColorGreenBg
	ColorYellowBg
	ColorBlueBg
	ColorMagentaBg
	ColorCyanBg
	ColorWhiteBg
)

var (
	// colors = []string{
	// 	CRITICAL: ColorSeq(ColorMagenta),
	// 	ERROR:    ColorSeq(ColorRed),
	// 	WARNING:  ColorSeq(ColorYellow),
	// 	NOTICE:   ColorSeq(ColorGreen),
	// 	DEBUG:    ColorSeq(ColorCyan),
	// }
	colors = []string{
		CRITICAL: ColorSeq(ColorMagentaBg),
		ERROR:    ColorSeq(ColorRedBg),
		WARNING:  ColorSeq(ColorYellowBg),
		NOTICE:   ColorSeq(ColorGreenBg),
		DEBUG:    ColorSeq(ColorCyanBg),
	}
	boldcolors = []string{
		CRITICAL: ColorSeqBold(ColorMagenta),
		ERROR:    ColorSeqBold(ColorRed),
{'fraction_non_alphanumeric': 0.10553337136337707, 'fraction_numerical': 0.007986309184255563, 'mean_word_length': 3.8054794520547945, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3053848', 'n_tokens_mistral': 677, 'n_tokens_neox': 643, 'n_words': 163}