{"size": 1293, "ext": "js", "max_stars_repo_path": "proxy/WebRoot/js/zf/_base/ConsoleLogWriter.js", "max_stars_repo_name": "tyang513/enterprise.adapter", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "proxy/WebRoot/js/zf/_base/ConsoleLogWriter.js", "max_issues_repo_name": "tyang513/enterprise.adapter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "proxy/WebRoot/js/zf/_base/ConsoleLogWriter.js", "max_forks_repo_name": "tyang513/enterprise.adapter", "max_forks_repo_forks_event_min_datetime": "2022-01-04T14:27:03.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-04T14:27:03.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 17.9583333333, "max_line_length": 134, "alphanum_fraction": 0.6017014695}
define([], function() {
	// summary:
	// Firebug console wrapper to write log.

	var isIE = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());
	if (isIE) {
		var _nullFn = function() {
		};

		window.console = $.extend({
			debug : _nullFn,
			log : _nullFn,
			info : _nullFn,
			warn : _nullFn,
			error : _nullFn,
			dir : _nullFn
		}, window.console || {});
	}

	return {
		debug : function(message) {
			console.log(message);
		},

		dir : function(message) {
			console.dir(message);
		},

		info : function(message) {
			console.info(message);
		},

		warn : function(message) {
			console.warn(message);
		},

		error : function(message) {
			console.error(message);
		},

		fine : function(message) {
			console.info(message);
		},

		finer : function(message) {
			console.info(message);
		},

		finest : function(message) {
			console.info(message);
		},

		entry : function(message) {
			console.info(message);
		},

		exit : function(message) {
			console.info(message);
		},

		formatMessage : function(messageObj) {
			return (new Date()).toLocaleString() + " [" + messageObj.className + "_" + messageObj.clientId + "." + messageObj.methodName + "]["
					+ messageObj.level + "]" + messageObj.message;
		},

		getLineSeparator : function() {
			return "\n";
		}

	};
});
