public static function setAutoFlushEntries($entries) {
    if (!is_int($entries)) {
      throw new \InvalidArgumentException(
          'Entries must be an integer but was ' . self::typeOrClass($entries));
    }
    self::$auto_flush_entries = $entries;
  }
public static function setAutoFlushEntries($entries) {
    if (!is_int($entries)) {
      throw new \InvalidArgumentException(
          'Entries must be an integer but was ' . self::typeOrClass($entries));
    }
    self::$auto_flush_entries = $entries;
  }
public static function setAutoFlushEntries ( $ entries ) { if ( ! is_int ( $ entries ) ) { throw new \ InvalidArgumentException ( 'Entries must be an integer but was ' . self :: typeOrClass ( $ entries ) ) ; } self :: $ auto_flush_entries = $ entries ; }
Set the maximum number of log entries to buffer before they are
automaticallly flushed upon adding the next log entry.

@param integer $entries Number of log entries to buffer.
Set the maximum number of log entries to buffer before they are automaticallly flushed upon adding the next log entry .