<commit_before>package logger

import (
	"fmt"
	"github.com/fatih/color"
	"log"
	"os"
)

var (
	logFlag = log.Ldate | log.Ltime | log.LUTC
	myLog   = log.New(os.Stdout, "", logFlag)
)

func init() {
	isTest := os.Getenv("GO_ENV") == "test"
	if isTest {
		os.MkdirAll("../log", 0777)
		logfile, _ := os.OpenFile("../log/test.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
		myLog = log.New(logfile, "", logFlag)
	}<commit_msg>Use local time zone for logger<commit_after>package logger

import (
	"fmt"
	"github.com/fatih/color"
	"log"
	"os"
)

var (
	logFlag = log.Ldate | log.Ltime
	myLog   = log.New(os.Stdout, "", logFlag)
)

func init() {
	isTest := os.Getenv("GO_ENV") == "test"
	if isTest {
		os.MkdirAll("../log", 0777)
		logfile, _ := os.OpenFile("../log/test.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
		myLog = log.New(logfile, "", logFlag)
	}
{'fraction_non_alphanumeric': 0.1985981308411215, 'fraction_numerical': 0.018691588785046728, 'mean_word_length': 3.6324324324324326, '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': '3464378', 'n_tokens_mistral': 407, 'n_tokens_neox': 385, 'n_words': 66}