public/javascripts/yui/logger/logger.js
function() {
        this._timeout = null;

        if(this._elConsole !== null) {
            var thresholdMax = this.thresholdMax;
            thresholdMax = (thresholdMax && !isNaN(thresholdMax)) ? thresholdMax : 500;
            if(this._consoleMsgCount < thresholdMax) {
                var entries = [];
                for (var i=0; i<this._buffer.length; i++) {
                    entries[i] = this._buffer[i];
                }
                this._buffer = [];
                this._printToConsole(entries);
            }
            else {
                this._filterLogs();
            }
            
            if(!this.newestOnTop) {
                this._elConsole.scrollTop = this._elConsole.scrollHeight;
            }
        }
    }
function() {
        this._timeout = null;

        if(this._elConsole !== null) {
            var thresholdMax = this.thresholdMax;
            thresholdMax = (thresholdMax && !isNaN(thresholdMax)) ? thresholdMax : 500;
            if(this._consoleMsgCount < thresholdMax) {
                var entries = [];
                for (var i=0; i<this._buffer.length; i++) {
                    entries[i] = this._buffer[i];
                }
                this._buffer = [];
                this._printToConsole(entries);
            }
            else {
                this._filterLogs();
            }
            
            if(!this.newestOnTop) {
                this._elConsole.scrollTop = this._elConsole.scrollHeight;
            }
        }
    }
function ( ) { this . _timeout = null ; if ( this . _elConsole !== null ) { var thresholdMax = this . thresholdMax ; thresholdMax = ( thresholdMax && ! isNaN ( thresholdMax ) ) ? thresholdMax : 500 ; if ( this . _consoleMsgCount < thresholdMax ) { var entries = [ ] ; for ( var i = 0 ; i < this . _buffer . length ; i ++ ) { entries [ i ] = this . _buffer [ i ] ; } this . _buffer = [ ] ; this . _printToConsole ( entries ) ; } else { this . _filterLogs ( ) ; } if ( ! this . newestOnTop ) { this . _elConsole . scrollTop = this . _elConsole . scrollHeight ; } } }
Sends buffer of log messages to output and clears buffer.

@method _printBuffer
@private
Sends buffer of log messages to output and clears buffer .