<commit_before>"use strict";
var log = require('plog')('mambo.search'),
    util = require('util'),
    Queue = require('./queue');

function Searchable(model){
    model.on('update', function(update){
        log.debug('New update on alias `'+update.alias +
            '` with hash `'+update.hash+'` ' + (update.range ? 'and range `' +
                update.range + '`' : ''));
        log.debug('Attribute updates: ' + util.inspect(update.updates));
        log.debug('Options: ' + util.inspect(update.options));
    });

    model.on('insert', function(insert){<commit_msg>Updating logging<commit_after>"use strict";
var debug = require('plog')('mambo:search'),
    util = require('util'),
    Queue = require('./queue');

function Searchable(model){
    model.on('update', function(update){
        debug('New update on alias `'+update.alias +
            '` with hash `'+update.hash+'` ' + (update.range ? 'and range `' +
                update.range + '`' : ''));
        debug('Attribute updates: ' + util.inspect(update.updates));
        debug('Options: ' + util.inspect(update.options));
    });

    model.on('insert', function(insert){
{'fraction_non_alphanumeric': 0.195822454308094, 'fraction_numerical': 0.0, 'mean_word_length': 3.1366906474820144, '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': '2793276', 'n_tokens_mistral': 347, 'n_tokens_neox': 340, 'n_words': 64}