public static function setLogFlushTimeLimit($seconds) {
    if (!is_int($seconds)) {
      throw new \InvalidArgumentException(
          'Seconds must be an integer but was ' . self::typeOrClass($seconds));
    }
    self::$flush_time_limit = $seconds;
  }
public static function setLogFlushTimeLimit($seconds) {
    if (!is_int($seconds)) {
      throw new \InvalidArgumentException(
          'Seconds must be an integer but was ' . self::typeOrClass($seconds));
    }
    self::$flush_time_limit = $seconds;
  }
public static function setLogFlushTimeLimit ( $ seconds ) { if ( ! is_int ( $ seconds ) ) { throw new \ InvalidArgumentException ( 'Seconds must be an integer but was ' . self :: typeOrClass ( $ seconds ) ) ; } self :: $ flush_time_limit = $ seconds ; }
Sets the maximum amount of time in seconds before the buffered logs are
automatically flushed upon adding the next log entry.

@param integer $seconds Time in seconds. Use zero or negative value to
disable the time limit.
Sets the maximum amount of time in seconds before the buffered logs are automatically flushed upon adding the next log entry .