Lines Matching refs:matcher
128 * Match the matcher checking the log lines using the callback.
130 …* @param callable $matcher Callback checking whether the log line matches the expected mes…
136 private function match(callable $matcher, string $notFoundMessage): bool
142 if ($this->logReader->readUntil($matcher, $notFoundMessage)) {
164 $matcher = function (string $line) {
196 return $matcher($line);
198 return $this->match($matcher, 'Truncated message not found');
232 $matcher = fn(string $line) => $this->checkLine($line);
235 if ( ! $this->match($matcher, 'Output message not found')) {
481 * Get log entry matcher.
560 $matcher = $this->getEntryMatcher($type, $expectedMessage, $pool, $ignoreErrorFor);
562 while ($this->logReader->readUntil($matcher)) {