mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 15:02:28 +01:00
Remove unneeded calls to close method.
This commit is contained in:
parent
8812850aee
commit
7f4229a2f4
@ -44,17 +44,6 @@ class LogEntriesHandler extends SocketHandler
|
|||||||
$this->logToken = $token;
|
$this->logToken = $token;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*
|
|
||||||
* @param array $record
|
|
||||||
*/
|
|
||||||
public function write(array $record)
|
|
||||||
{
|
|
||||||
parent::write($record);
|
|
||||||
$this->closeSocket();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
@ -64,7 +53,6 @@ class LogEntriesHandler extends SocketHandler
|
|||||||
$record['formatted'] = $this->getFormatter()->format($record);
|
$record['formatted'] = $this->getFormatter()->format($record);
|
||||||
parent::write($record);
|
parent::write($record);
|
||||||
}
|
}
|
||||||
$this->closeSocket();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user