This commit is contained in:
Marcel Pociot 2018-11-27 09:17:39 +01:00
parent d9c7111f9d
commit 5fd665b93e
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@ class ConnectionLogger extends Logger implements ConnectionInterface
public function send($data)
{
$this->info("{$this->connection->client->appId}: connection id {$this->connection->socketId} sending message {$data}");
$this->info("Connection id {$this->connection->socketId} sending message {$data}");
$this->connection->send($data);
}
public function close()
{
$this->warn("{$this->connection->client->appId}: connection id {$this->connection->socketId} closing.");
$this->warn("Connection id {$this->connection->socketId} closing.");
$this->connection->close();
}