Drupal 8  8.0.2
SysLog Class Reference
Inheritance diagram for SysLog:

Public Member Functions

 __construct (ConfigFactoryInterface $config_factory, LogMessageParserInterface $parser)
 log ($level, $message, array $context=array())

Protected Member Functions

 openConnection ()

Protected Attributes

 $connectionOpened = FALSE

Detailed Description

Redirects logging messages to syslog.

Constructor & Destructor Documentation

__construct ( ConfigFactoryInterface  $config_factory,
LogMessageParserInterface  $parser 

Constructs a SysLog object.

\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe configuration factory object.
\Drupal\Core\Logger\LogMessageParserInterface$parserThe parser to use when extracting message variables.

References Drupal\config(), and ConfigFactoryInterface\get().

Here is the call graph for this function:

Member Function Documentation

log (   $level,
array  $context = array() 


References Drupal\config(), and SysLog\openConnection().

Here is the call graph for this function:

openConnection ( )

Opens a connection to the system logger.

References Drupal\config().

Referenced by SysLog\log().

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following file: