<commit_before>/**
 * @require {core.ext.Object}
 * @require {core.ext.String}
 * @require {core.ext.Function}
 */
core.Class("lowland.Object", {
  include : [core.property.MGeneric, lowland.base.UserData, lowland.base.Events],
  
  construct : function() {
    lowland.base.UserData.call(this);
    lowland.base.Events.call(this);
  }
});<commit_msg>Add warn and error to generic object<commit_after>/**
 * @require {core.ext.Object}
 * @require {core.ext.String}
 * @require {core.ext.Function}
 */
core.Class("lowland.Object", {
  include : [core.property.MGeneric, lowland.base.UserData, lowland.base.Events],
  
  construct : function() {
    lowland.base.UserData.call(this);
    lowland.base.Events.call(this);
  },
  
  members : {
    error : function() {
      console.error(this.constructor || this, arguments);
    },
    
    warn : function() {
      console.warn(this.constructor || this, arguments);
    }
  }
});
{'fraction_non_alphanumeric': 0.17330462863293863, 'fraction_numerical': 0.0, 'mean_word_length': 3.449760765550239, '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': '1721185', 'n_tokens_mistral': 313, 'n_tokens_neox': 312, 'n_words': 49}