Lines Matching refs:record
12 * @method bool hasEmergency($record)
13 * @method bool hasAlert($record)
14 * @method bool hasCritical($record)
15 * @method bool hasError($record)
16 * @method bool hasWarning($record)
17 * @method bool hasNotice($record)
18 * @method bool hasInfo($record)
19 * @method bool hasDebug($record)
71 $record = [
77 $this->recordsByLevel[$record['level']][] = $record;
78 $this->records[] = $record;
86 public function hasRecord($record, $level)
88 if (is_string($record)) {
89 $record = ['message' => $record];
91 return $this->hasRecordThatPasses(function ($rec) use ($record) {
92 if ($rec['message'] !== $record['message']) {
95 if (isset($record['context']) && $rec['context'] !== $record['context']) {