You are here

private function SocketHandler::connect in Lagoon Logs 8

1 call to SocketHandler::connect()
SocketHandler::connectIfNotConnected in src/Logger/SocketHandler.php

File

src/Logger/SocketHandler.php, line 300

Class

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

Namespace

Drupal\lagoon_logs\Logger

Code

private function connect() {
  $this
    ->createSocketResource();
  $this
    ->setSocketTimeout();
  $this
    ->setStreamChunkSize();
}