public SysLog::log($level, $message, array $context = array())
Logs with an arbitrary level.
Parameters
mixed $level:
string $message:
array $context:
Return value
null
Overrides RfcLoggerTrait::log
File
core/modules/syslog/src/Logger/SysLog.php, line 66
Class
SysLog Redirects logging messages to syslog.
Namespace
Drupal\syslog\Logger
Code
public function log($level, $message, array $context = array()) {
global $base_url;
// Ensure we have a connection available.
$this->ope