1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 22:42:38 +01:00

Remove unneeded calls to close method.

This commit is contained in:
Robert Kaufmann III 2014-03-30 22:36:47 -04:00
parent 8812850aee
commit 7f4229a2f4

View File

@ -44,17 +44,6 @@ class LogEntriesHandler extends SocketHandler
$this->logToken = $token;
}
/**
* {@inheritdoc}
*
* @param array $record
*/
public function write(array $record)
{
parent::write($record);
$this->closeSocket();
}
/**
* {@inheritdoc}
*/
@ -64,7 +53,6 @@ class LogEntriesHandler extends SocketHandler
$record['formatted'] = $this->getFormatter()->format($record);
parent::write($record);
}
$this->closeSocket();
}
/**