mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 19:57:41 +02:00
Remove unneeded calls to close method.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user