36 if ($useSSL && !extension_loaded(
'openssl')) {
37 throw new MissingExtensionException(
'The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler');
40 $endpoint = $useSSL ?
'ssl://data.logentries.com:443' :
'data.logentries.com:80';
42 $this->logToken = $token;
53 return $this->logToken .
' ' . $record[
'formatted'];
const DEBUG
Detailed debug information.
Stores to any socket - uses fsockopen() or pfsockopen().
generateDataStream($record)
{}
Exception can be thrown if an extension for an handler is missing.
__construct($token, $useSSL=true, $level=Logger::DEBUG, $bubble=true)