Lines Matching refs:level
120 * @param string|int $level Logging level value or name
124 public function hasRecords($level): bool argument
126 return isset($this->recordsByLevel[Logger::toMonologLevel($level)]);
131 * @param string|int $level Logging level value or name
136 public function hasRecord($record, $level): bool argument
151 }, $level);
155 * @param string|int $level Logging level value or name
159 public function hasRecordThatContains(string $message, $level): bool argument
163 }, $level);
167 * @param string|int $level Logging level value or name
171 public function hasRecordThatMatches(string $regex, $level): bool argument
175 }, $level);
179 * @param string|int $level Logging level value or name
185 public function hasRecordThatPasses(callable $predicate, $level) argument
187 $level = Logger::toMonologLevel($level);
189 if (!isset($this->recordsByLevel[$level])) {
193 foreach ($this->recordsByLevel[$level] as $i => $rec) {
220 $level = constant('Monolog\Logger::' . strtoupper($matches[2]));
223 $args[] = $level;