<commit_before>from functools import wraps
import logging


def bind_log(f):
    log = logging.getLogger(f.func_name)
    @wraps(f)
    def g(*a, **kw):
        return f(log, *a, **kw)
    return g<commit_msg>bind_log now uses callee.name_of.<commit_after>from functools import wraps
import logging
from spiralgalaxygame import callee


def bind_logger(f):
    log = logging.getLogger(callee.name_of(f))
    @wraps(f)
    def g(*a, **kw):
        return f(log, *a, **kw)
    return g
{'fraction_non_alphanumeric': 0.12422360248447205, 'fraction_numerical': 0.0, 'mean_word_length': 3.5660377358490565, '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': '1272250', 'n_tokens_mistral': 180, 'n_tokens_neox': 177, 'n_words': 46}