Lines Matching full:lines
45 * Return logfile lines limited to specified $min - $max range
53 $lines = [];
56 if (empty($line)) continue; // Filter empty lines
59 $lines[] = $parsedLine;
62 return $lines;
66 * Read log lines backwards. Start and end timestamps are used to evaluate
67 * only the chunks being read, NOT single lines. This method will return
68 * too many lines, the dates have to be checked by the caller again.
77 $lines = array();
119 // put all the lines from the chunk on the stack
120 $lines = array_merge($cparts, $lines);
126 return $lines;
148 * Returns the number of lines where the given needle has been found in message
150 * @param array $lines
154 public function countMatchingLines(array $lines, string $msgNeedle) argument
157 $lines,