﻿window.log = function () {
    ///	<summary>
    ///		Logs string or array of strings to console.
    ///	</summary>
    ///	<param name="arguments" type="String">The e-mail address to check</param>
    ///	<returns type="void" />
    log.history = log.history || [];   // store logs to an array for reference
    log.history.push(arguments);
    if (this.console) {
        console.log(Array.prototype.slice.call(arguments));
    }
};
