ソースを参照

Remove unnecessary getDefaultFormatter and handleBatch methods.

Rob Kaufmann 11 年 前
コミット
fcd0d092b3
1 ファイル変更0 行追加18 行削除
  1. 0 18
      src/Monolog/Handler/LogEntriesHandler.php

+ 0 - 18
src/Monolog/Handler/LogEntriesHandler.php

@@ -44,17 +44,6 @@ class LogEntriesHandler extends SocketHandler
         $this->logToken = $token;
     }
 
-    /**
-     * {@inheritdoc}
-     */
-    public function handleBatch(array $records)
-    {
-        foreach ($records as $record) {
-            $record['formatted'] = $this->getFormatter()->format($record);
-            parent::write($record);
-        }
-    }
-
     /**
      * {@inheritdoc}
      *
@@ -66,11 +55,4 @@ class LogEntriesHandler extends SocketHandler
         return $this->logToken . ' ' . $record['formatted'];
     }
 
-    /**
-     * {@inheritDoc}
-     */
-    protected function getDefaultFormatter()
-    {
-        return new LineFormatter();
-    }
 }