Lines Matching refs:level
69 public function log($level, $message, array $context = [])
72 'level' => $level,
77 $this->recordsByLevel[$record['level']][] = $record;
81 public function hasRecords($level)
83 return isset($this->recordsByLevel[$level]);
86 public function hasRecord($record, $level)
99 }, $level);
102 public function hasRecordThatContains($message, $level)
106 }, $level);
109 public function hasRecordThatMatches($regex, $level)
113 }, $level);
116 public function hasRecordThatPasses(callable $predicate, $level)
118 if (!isset($this->recordsByLevel[$level])) {
121 foreach ($this->recordsByLevel[$level] as $i => $rec) {
133 $level = strtolower($matches[2]);
135 $args[] = $level;