<commit_before>package golog

import (
	"bytes"
	"io"
)

// Level logging
type Level uint8

// Context is log message context
type Context map[string]interface{}

// Formatter format log message to needed output
type Formatter interface {
	Format(*bytes.Buffer, Level, Context, string) *bytes.Buffer
}

// StandartLogger is log package interface
type StandartLogger interface {
	Print(...interface{})
	Printf(string, ...interface{})
	Println(...interface{})

	Fatal(...interface{})
	Fatalf(string, ...interface{})
	Fatalln(...interface{})

	Panic(...interface{})
	Panicf(string, ...interface{})
	Panicln(...interface{})
}

// ILogger interface
type ILogger interface {
	WithContext(Context) ILogger
	GetContext() Context

	SetFormatter(Formatter)
	SetOutput(io.Writer)
	SetLevel(Level)

	Print(...interface{})
	Debug(...interface{})
	Info(...interface{})
	Warn(...interface{})
	Error(...interface{})
	Fatal(...interface{})
	Panic(...interface{})
<commit_msg>fixed standarD logger interface name<commit_after>package golog

import (
	"bytes"
	"io"
)

// Level logging
type Level uint8

// Context is log message context
type Context map[string]interface{}

// Formatter format log message to needed output
type Formatter interface {
	Format(*bytes.Buffer, Level, Context, string) *bytes.Buffer
}

// StandartLogger is log package interface
type StandardLogger interface {
	Print(...interface{})
	Printf(string, ...interface{})
	Println(...interface{})

	Fatal(...interface{})
	Fatalf(string, ...interface{})
	Fatalln(...interface{})

	Panic(...interface{})
	Panicf(string, ...interface{})
	Panicln(...interface{})
}

// ILogger interface
type ILogger interface {
	WithContext(Context) ILogger
	GetContext() Context

	SetFormatter(Formatter)
	SetOutput(io.Writer)
	SetLevel(Level)

	Print(...interface{})
	Debug(...interface{})
	Info(...interface{})
	Warn(...interface{})
	Error(...interface{})
	Fatal(...interface{})
	Panic(...interface{})

{'fraction_non_alphanumeric': 0.16812790097988653, 'fraction_numerical': 0.0010314595152140279, 'mean_word_length': 4.34435261707989, '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': '2153874', 'n_tokens_mistral': 594, 'n_tokens_neox': 593, 'n_words': 148}