1 // The class this file defines and its required classes
  2 R.Engine.define({
  3     "class":"R.util.console.MSIE",
  4     "requires":[
  5         "R.debug.ConsoleRef"
  6     ]
  7 });
  8 
  9 /**
 10  * @class A console reference to the MSIE console.
 11  * @extends R.debug.ConsoleRef
 12  */
 13 R.util.console.MSIE = R.debug.ConsoleRef.extend(/** @scope R.util.console.MSIE.prototype **/{
 14 
 15     constructor:function () {
 16     },
 17 
 18     /**
 19      * Write a debug message to the console
 20      */
 21     info:function () {
 22         console.log(this.fixArgs(arguments));
 23     },
 24 
 25     /**
 26      * Write a debug message to the console
 27      */
 28     debug:function () {
 29         console.info(this.fixArgs(arguments));
 30     },
 31 
 32     /**
 33      * Write a warning message to the console
 34      */
 35     warn:function () {
 36         console.warn(this.fixArgs(arguments));
 37     },
 38 
 39     /**
 40      * Write an error message to the console
 41      */
 42     error:function () {
 43         console.error(this.fixArgs(arguments));
 44     },
 45 
 46     /**
 47      * Get the class name of this object
 48      *
 49      * @return {String} The string "R.util.console.MSIE"
 50      */
 51     getClassName:function () {
 52         return "R.util.console.MSIE";
 53     }
 54 });
 55