@@ 140-143 (lines=4) @@ | ||
137 | $options = array(); |
|
138 | $options['level'] = $this->logLevels[$record['level']]; |
|
139 | $options['tags'] = array(); |
|
140 | if (!empty($record['extra']['tags'])) { |
|
141 | $options['tags'] = array_merge($options['tags'], $record['extra']['tags']); |
|
142 | unset($record['extra']['tags']); |
|
143 | } |
|
144 | if (!empty($record['context']['tags'])) { |
|
145 | $options['tags'] = array_merge($options['tags'], $record['context']['tags']); |
|
146 | unset($record['context']['tags']); |
|
@@ 144-147 (lines=4) @@ | ||
141 | $options['tags'] = array_merge($options['tags'], $record['extra']['tags']); |
|
142 | unset($record['extra']['tags']); |
|
143 | } |
|
144 | if (!empty($record['context']['tags'])) { |
|
145 | $options['tags'] = array_merge($options['tags'], $record['context']['tags']); |
|
146 | unset($record['context']['tags']); |
|
147 | } |
|
148 | if (!empty($record['context']['fingerprint'])) { |
|
149 | $options['fingerprint'] = $record['context']['fingerprint']; |
|
150 | unset($record['context']['fingerprint']); |
|
@@ 148-151 (lines=4) @@ | ||
145 | $options['tags'] = array_merge($options['tags'], $record['context']['tags']); |
|
146 | unset($record['context']['tags']); |
|
147 | } |
|
148 | if (!empty($record['context']['fingerprint'])) { |
|
149 | $options['fingerprint'] = $record['context']['fingerprint']; |
|
150 | unset($record['context']['fingerprint']); |
|
151 | } |
|
152 | if (!empty($record['context']['logger'])) { |
|
153 | $options['logger'] = $record['context']['logger']; |
|
154 | unset($record['context']['logger']); |