mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-23 22:42:38 +01:00
Remove unnecessary getDefaultFormatter and handleBatch methods.
This commit is contained in:
parent
7f4229a2f4
commit
fcd0d092b3
@ -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();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user