<commit_before>package main

import (
	"time"

	"github.com/nzlov/glog"
	"github.com/nzlov/glog/listener/console"
	"github.com/nzlov/glog/listener/file"
)

func main() {
	defer glog.Close()
	glog.SetLevel(glog.DebugLevel)
	f, err := file.New("l.log")
	if err != nil {
		panic(err)
	}
	glog.Register(f)
	glog.Register(console.New())

	a()
}
func a() {
	go func() {
		i := 1
		for {
			glog.Infoln(i)
			glog.NewFiled().
				Set("k", "v").
				Set("k1", "v1").
				Infoln(i)
			glog.NewTagFiled("tag").
				Set("k", "v").Infoln(i)
			i++
			time.Sleep(time.Second)
		}
	}()
	time.Sleep(time.Second * 2)
	go a1()
	time.Sleep(time.Second * 5)
}
func a1() {
	if 2 > 1 {
		glog.Panic("eeee", "dddddd")
		// glog.NewFiled().Set("k", "v").Set("k1", "v1").Panic("a")
		// glog.NewTagFiled("tag").Set("k", "v").Panic("a")
	}
}<commit_msg>Test Color Console<commit_after>package main

import (
	"time"

	"github.com/nzlov/glog"
	"github.com/nzlov/glog/listener/colorconsole"
	"github.com/nzlov/glog/listener/file"
)

func main() {
	defer glog.Close()
	glog.SetLevel(glog.DebugLevel)
	f, err := file.New("l.log")
	if err != nil {
		panic(err)
	}
	glog.Register(f)
	glog.Register(colorconsole.New(colorconsole.ShowTypeDefault))

	a()
}
func a() {
	go func() {
		i := 1
		for {
			glog.Errorln(i)
			glog.Debugln(i)
			glog.NewFiled().
				Set("k", "v").
				Set("k1", "v1").
				Warnln(i)
			glog.NewTagFiled("tag").
				Set("k", "v").Infoln(i)
			i++
			time.Sleep(time.Second)
		}
	}()
	time.Sleep(time.Second * 2)
	go a1()
	time.Sleep(time.Second * 5)
}
func a1() {
	if 2 > 1 {
		glog.Panic("eeee", "dddddd")
		// glog.NewFiled().Set("k", "v").Set("k1", "v1").Panic("a")
		// glog.NewTagFiled("tag").Set("k", "v").Panic("a")
	}
}
{'fraction_non_alphanumeric': 0.2315299592786504, 'fraction_numerical': 0.012798138452588714, 'mean_word_length': 3.267990074441687, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6364853', 'n_tokens_mistral': 886, 'n_tokens_neox': 797, 'n_words': 121}