public function SocketHandler::__construct in Lagoon Logs 8
Parameters
string $connectionString Socket connection string:
int $level The minimum logging level at which this handler will be: triggered
bool $bubble Whether the messages that are handled can bubble up: the stack or not
File
- src/
Logger/ SocketHandler.php, line 59
Class
- SocketHandler
- Stores to any socket - uses fsockopen() or pfsockopen().
Namespace
Drupal\lagoon_logs\LoggerCode
public function __construct($connectionString, $level = Logger::DEBUG, $bubble = TRUE) {
parent::__construct($level, $bubble);
$this->connectionString = $connectionString;
$this->connectionTimeout = (double) ini_get('default_socket_timeout');
}