<commit_before>package log

import (
	"fmt"
)

func Error(format string, i ...interface{}) {
	Log("ERROR", format, i...)
}

func Info(format string, i ...interface{}) {
	Log("INFO ", format, i...)
}

func Log(tag, format string, i ...interface{}) {
	fmt.Printf(tag+" "+format+"\n", i...)
}<commit_msg>add Fatal method for logging<commit_after>package log

import (
	"fmt"
	"os"
)

func Error(format string, i ...interface{}) {
	Log("ERROR", format, i...)
}

func Fatal(format string, i ...interface{}) {
	Error(format, i...)
	os.Exit(1)
}

func Info(format string, i ...interface{}) {
	Log("INFO ", format, i...)
}

func Log(tag, format string, i ...interface{}) {
	fmt.Printf(tag+" "+format+"\n", i...)
}
{'fraction_non_alphanumeric': 0.23120567375886525, 'fraction_numerical': 0.0014184397163120568, 'mean_word_length': 3.4968152866242037, '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': '6758919', 'n_tokens_mistral': 251, 'n_tokens_neox': 251, 'n_words': 71}