48 if (isset($record[
'extra'][
'file'])) {
49 $file = $record[
'extra'][
'file'];
50 unset($record[
'extra'][
'file']);
52 if (isset($record[
'extra'][
'line'])) {
53 $line = $record[
'extra'][
'line'];
54 unset($record[
'extra'][
'line']);
60 if ($record[
'context']) {
61 $message[
'context'] = $record[
'context'];
64 if ($record[
'extra']) {
65 $message[
'extra'] = $record[
'extra'];
72 if (isset($record[
'context'][self::TABLE])) {
74 $label = $record[
'channel'] .
': '. $record[
'message'];
75 $message = $record[
'context'][self::TABLE];
77 $type = $this->logLevels[$record[
'level']];
78 $label = $record[
'channel'];
102 throw new \BadMethodCallException(
'Batch formatting does not make sense for the WildfireFormatter');
111 return parent::normalize(
$data);
const NOTICE
Uncommon events.
const DEBUG
Detailed debug information.
const ERROR
Runtime errors.
catch(Exception $e) $message
const WARNING
Exceptional occurrences that are not errors.
const EMERGENCY
Urgent alert.
Create styles array
The data for the language used.
const CRITICAL
Critical conditions.
const ALERT
Action must be taken immediately.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
const INFO
Interesting events.