浏览代码

Fix indentation

Tim Mower 13 年之前
父节点
当前提交
0a63050c7f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Monolog/Formatter/LogstashEventFormatter.php

+ 2 - 2
src/Monolog/Formatter/LogstashEventFormatter.php

@@ -66,10 +66,10 @@ class LogstashEventFormatter extends NormalizerFormatter
         $message['@fields']['channel'] = $record['channel'];
         $message['@fields']['level'] = $record['level'];
         if (isset($record['extra']['server'])) {
-          $message['@source_host'] = $record['extra']['server'];
+            $message['@source_host'] = $record['extra']['server'];
         }
         if (isset($record['extra']['url'])) {
-          $message['@source_path'] = $record['extra']['url'];
+            $message['@source_path'] = $record['extra']['url'];
         }
         foreach ($record['extra'] as $key => $val) {
             $message['@fields'][$this->extraPrefix . $key] = $val;