public static function setAutoFlushBytes($bytes) {
    if (!is_int($bytes)) {
      throw new \InvalidArgumentException(
          'Bytes must be an integer but was ' . self::typeOrClass($bytes));
    }
    self::$auto_flush_bytes = $bytes;
  }
public static function setAutoFlushBytes($bytes) {
    if (!is_int($bytes)) {
      throw new \InvalidArgumentException(
          'Bytes must be an integer but was ' . self::typeOrClass($bytes));
    }
    self::$auto_flush_bytes = $bytes;
  }
public static function setAutoFlushBytes ( $ bytes ) { if ( ! is_int ( $ bytes ) ) { throw new \ InvalidArgumentException ( 'Bytes must be an integer but was ' . self :: typeOrClass ( $ bytes ) ) ; } self :: $ auto_flush_bytes = $ bytes ; }
Sets the maximum size of logs to buffer before they are automaticallly
flushed upon adding the next log entry.

@param integer $bytes Size of logs to buffer in bytes.
Sets the maximum size of logs to buffer before they are automaticallly flushed upon adding the next log entry .