build/tincan.js
function (msg, src) {
            /* globals console */
            if (TinCan.DEBUG && typeof console !== "undefined" && console.log) {
                src = src || this.LOG_SRC || "TinCan";

                console.log("TinCan." + src + ": " + msg);
            }
        }
function (msg, src) {
            /* globals console */
            if (TinCan.DEBUG && typeof console !== "undefined" && console.log) {
                src = src || this.LOG_SRC || "TinCan";

                console.log("TinCan." + src + ": " + msg);
            }
        }
function ( msg , src ) { /* globals console */ if ( TinCan . DEBUG && typeof console !== "undefined" && console . log ) { src = src || this . LOG_SRC || "TinCan" ; console . log ( "TinCan." + src + ": " + msg ) ; } }
Safe version of logging, only displays when .DEBUG is true, and console.log
is available

@method log
@param {String} msg Message to output
Safe version of logging only displays when . DEBUG is true and console . log is available