{"size": 810, "ext": "js", "max_stars_repo_path": "lib/middlewares/Logger.js", "max_stars_repo_name": "dsanders11/stent", "max_stars_repo_stars_event_min_datetime": "2017-09-21T13:52:28.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-21T04:42:39.000Z", "max_issues_repo_path": "lib/middlewares/Logger.js", "max_issues_repo_name": "dsanders11/stent", "max_issues_repo_issues_event_min_datetime": "2017-11-06T10:03:51.000Z", "max_issues_repo_issues_event_max_datetime": "2020-08-24T05:38:46.000Z", "max_forks_repo_path": "lib/middlewares/Logger.js", "max_forks_repo_name": "dsanders11/stent", "max_forks_repo_forks_event_min_datetime": "2017-10-24T20:34:10.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-20T08:30:10.000Z"}
{"max_stars_count": 713, "max_issues_count": 49, "max_forks_count": 44, "avg_line_length": 32.4, "max_line_length": 109, "alphanum_fraction": 0.612345679}
"use strict";

exports.__esModule = true;
var Logger = {
  onActionDispatched: function onActionDispatched(actionName) {
    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      args[_key - 1] = arguments[_key];
    }

    if (args.length === 0) {
      console.log(this.name + ": \"" + actionName + "\" dispatched");
    } else {
      console.log(this.name + ": \"" + actionName + "\" dispatched with payload " + args);
    }
  },
  onStateChanged: function onStateChanged() {
    console.log(this.name + ": state changed to \"" + this.state.name + "\"");
  },
  onGeneratorStep: function onGeneratorStep(yielded) {
    console.log(this.name + ": generator step -> " + yielded);
  }
};

exports.default = Logger;
module.exports = exports['default'];