You are here

public function SocketHandler::setPersistent in Lagoon Logs 8

Set socket connection to nbe persistent. It only has effect before the connection is initiated.

Parameters

bool $persistent:

File

src/Logger/SocketHandler.php, line 109

Class

SocketHandler
Stores to any socket - uses fsockopen() or pfsockopen().

Namespace

Drupal\lagoon_logs\Logger

Code

public function setPersistent($persistent) {
  $this->persistent = (bool) $persistent;
}