wip
This commit is contained in:
parent
d9c7111f9d
commit
5fd665b93e
|
|
@ -29,14 +29,14 @@ class ConnectionLogger extends Logger implements ConnectionInterface
|
||||||
|
|
||||||
public function send($data)
|
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);
|
$this->connection->send($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function close()
|
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();
|
$this->connection->close();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue