1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 15:02:28 +01:00

Remove unnecessary getDefaultFormatter and handleBatch methods.

This commit is contained in:
Rob Kaufmann 2014-03-31 08:56:07 -04:00
parent 7f4229a2f4
commit fcd0d092b3

View File

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