mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 00:26:10 +02:00
Moved the channel as label on the FirePHP message for a better formatting
This commit is contained in:
@@ -23,7 +23,7 @@ class WildfireFormatter extends LineFormatter
|
||||
/**
|
||||
* Similar to LineFormatter::SIMPLE_FORMAT, except without the "[%datetime%]"
|
||||
*/
|
||||
const SIMPLE_FORMAT = "%channel%: %message% %context% %extra%";
|
||||
const SIMPLE_FORMAT = "%message% %context% %extra%";
|
||||
|
||||
/**
|
||||
* Translates Monolog log levels to Wildfire levels.
|
||||
@@ -51,6 +51,7 @@ class WildfireFormatter extends LineFormatter
|
||||
'Type' => $this->logLevels[$record['level']],
|
||||
'File' => '',
|
||||
'Line' => '',
|
||||
'Label' => $record['channel'],
|
||||
),
|
||||
$message,
|
||||
));
|
||||
|
Reference in New Issue
Block a user