rem: baseLog: function (level, message/*, ...*/) { /***  The base functionality behind all of the log functions. The first argument is the log level as a string or number, and all other arguments are used as the info list.  This function is available partially applied as:  Logger.debug    'DEBUG' Logger.log      'INFO' Logger.error    'ERROR' Logger.fatal    'FATAL' Logger.warning  'WARNING'  For the default logger, these are also available as global functions, see the Logger constructor documentation for more info.  ***/  var msg = new MochiKit.Logging.LogMessage( this.counter, level, MochiKit.Base.extend(null, arguments, 1) ); this._messages.push(msg); this.dispatchListeners(msg); this.counter += 1; while (this.maxSize >= 0 && this._messages.length > this.maxSize) { this._messages.shift(); } }, 
add: },baseLog:function(_199,_200){ var msg=new MochiKit.Logging.LogMessage(this.counter,_199,MochiKit.Base.extend(null,arguments,1)); this._messages.push(msg); this.dispatchListeners(msg); this.counter+=1; while(this.maxSize>=0&&this._messages.length>this.maxSize){ this._messages.shift(); } },getMessages:function(_201){ 
context:     baseLog: function (level, message/*, ...*/) {        /***            The base functionality behind all of the log functions.            The first argument is the log level as a string or number,            and all other arguments are used as the info list.            This function is available partially applied as:                Logger.debug    'DEBUG'                Logger.log      'INFO'                Logger.error    'ERROR'                Logger.fatal    'FATAL'                Logger.warning  'WARNING'            For the default logger, these are also available as global functions,            see the Logger constructor documentation for more info.        ***/        var msg = new MochiKit.Logging.LogMessage(            this.counter,            level,            MochiKit.Base.extend(null, arguments, 1)        );        this._messages.push(msg);        this.dispatchListeners(msg);        this.counter += 1;        while (this.maxSize >= 0 && this._messages.length > this.maxSize) {            this._messages.shift();        }    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js