{"size": 392, "ext": "js", "max_stars_repo_path": "node/lib/utils.js", "max_stars_repo_name": "tomgco/retire.js", "max_stars_repo_stars_event_min_datetime": "2020-07-01T19:45:16.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-01T19:45:16.000Z", "max_issues_repo_path": "node/lib/utils.js", "max_issues_repo_name": "tomgco/retire.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node/lib/utils.js", "max_forks_repo_name": "tomgco/retire.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.6666666667, "max_line_length": 66, "alphanum_fraction": 0.6607142857}

function info(options) {
	return function(message) {
		(options.logger || console.log)(message);
	};
}

function warn(options) {
	return function(message) {
		(options.warnlogger || options.logger || console.warn)(message);
	};
}

exports.log = function(options) {
	return { 
		info : info(options),
		warn : warn(options),
		verbose : options.verbose ? info(options) : function() {}
	};
};
