<commit_before>
import { IProvider } from "../core/IProvider";

export interface ILoggingProvider extends IProvider {

    // tslint:disable-next-line:adjacent-overload-signatures
    error( message: string, ...meta: any[]): void;
    // tslint:disable-next-line:adjacent-overload-signatures
    warn( message: string, ...meta: any[]): void;<commit_msg>feat: add fatal level to logging<commit_after>
import { IProvider } from "../core/IProvider";
export type LogLevel = "fatal" | "error" | "warn" | "info" | "debug" | "trace";
export interface ILoggingProvider extends IProvider {
    clear(): Promise<void>;
    // tslint:disable-next-line:adjacent-overload-signatures
    log(level: LogLevel, message: string, ...meta: any[]): void;
    // tslint:disable-next-line:adjacent-overload-signatures
    fatal( message: string, ...meta: any[]): void;
    // tslint:disable-next-line:adjacent-overload-signatures
    error( message: string, ...meta: any[]): void;
    // tslint:disable-next-line:adjacent-overload-signatures
    warn( message: string, ...meta: any[]): void;
{'fraction_non_alphanumeric': 0.1627689429373246, 'fraction_numerical': 0.0, 'mean_word_length': 4.047169811320755, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6517013', 'n_tokens_mistral': 338, 'n_tokens_neox': 334, 'n_words': 78}