<commit_before>'use strict';

var FluentSender = require('./sender');
var sender = new FluentSender('debug');
var EventTime = require('./event-time');

module.exports = {
  configure: function(config) {
    sender.end();
    var tag = config;
    var options = arguments[1];
    sender = new FluentSender(tag, options);
    sender._setupErrorHandler();
  },

  createFluentSender: function(tag, options) {
    var _sender = new FluentSender(tag, options);
    _sender._setupErrorHandler();
    return _sender;
  },

  support: {
    winstonTransport: function() {
      var transport = require('../lib/winston');
      return transport;
    }
  },

  EventTime: EventTime<commit_msg>Simplify code<commit_after>'use strict';

var FluentSender = require('./sender');
var sender = new FluentSender('debug');
var EventTime = require('./event-time');

module.exports = {
  configure: function(tag, options) {
    sender.end();
    sender = new FluentSender(tag, options);
    sender._setupErrorHandler();
  },

  createFluentSender: function(tag, options) {
    var _sender = new FluentSender(tag, options);
    _sender._setupErrorHandler();
    return _sender;
  },

  support: {
    winstonTransport: function() {
      var transport = require('../lib/winston');
      return transport;
    }
  },

  EventTime: EventTime
{'fraction_non_alphanumeric': 0.14036418816388468, 'fraction_numerical': 0.0007587253414264037, 'mean_word_length': 3.6280701754385967, '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': '705972', 'n_tokens_mistral': 394, 'n_tokens_neox': 383, 'n_words': 91}