<commit_before>LOG_NAME = 'bot.log'
LOG_FILE = open(LOG_NAME, 'a')

def info(message):
    print('[INFO] ' + message, file=LOG_FILE)

def warning(message):
    print('[WARN] ' + message, file=LOG_FILE)

def error(message):
    print('[ERR!] ' + message, file=LOG_FILE)
<commit_msg>Added time to logger<commit_after>from datetime import datetime as dt


LOG_NAME = 'bot.log'
LOG_FILE = open(LOG_NAME, 'a')

def curr_time():
    return '{}:{}:{}'.format(dt.now().hour, dt.now().minute, dt.now().second)

def info(message):
    print(curr_time() + ' [INFO] ' + message, file=LOG_FILE)

def warning(message):
    print(curr_time() + ' [WARN] ' + message, file=LOG_FILE)

def error(message):
    print(curr_time() + ' [ERR!] ' + message, file=LOG_FILE)

{'fraction_non_alphanumeric': 0.1858288770053476, 'fraction_numerical': 0.0, 'mean_word_length': 4.897637795275591, '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': '2031507', 'n_tokens_mistral': 278, 'n_tokens_neox': 277, 'n_words': 58}