code: function get(amount) {
    amount = amount !== undefined && amount >= 0 ? amount : 10;
    amount = Math.min(amount, this._records.length);
    return this._records.slice(0, amount);
  }
docs: Get a list of slowlog records.
  
  Suitable for invoking from SLOWLOG GET.