Redirects logging messages to syslog.
Hierarchy
- class \Drupal\syslog\Logger\SysLog implements LoggerInterface uses RfcLoggerTrait
File
- core/modules/syslog/src/Logger/SysLog.php, line 13
Namespace
Drupal\syslog\Logger
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RfcLoggerTrait::alert | public | function | Action must be taken immediately. Overrides LoggerInterface::alert |
RfcLoggerTrait::critical | public | function | Critical conditions. Overrides LoggerInterface::critical |
RfcLoggerTrait::debug | public | function | Detailed debug information. Overrides LoggerInterface::debug |
RfcLoggerTrait::emergency | public | function | System is unusable. Overrides LoggerInterface::emergency |
RfcLoggerTrait::error | public | function | Runtime errors that do not require immediate action but should typically be logged and monitored. Overrides LoggerInterface::error |
RfcLoggerTrait::info | public | function | Interesting events. Overrides LoggerInterface::info |
RfcLoggerTrait::notice | public | function | Normal but significant events. Overrides LoggerInterface::notice |
RfcLoggerTrait::warning | public | function | Exceptional occurrences that are not errors. Overrides LoggerInterface::warning |
SysLog::$config | protected | property | A configuration object containing syslog settings. |
SysLog::$connectionOpened | protected | property | Stores whether there is a system logger connection opened or not. |
SysLog::$parser | protected | property | The message's placeholders parser. |
SysLog::log | public | function | Logs with an arbitrary level. Overrides RfcLoggerTrait::log |
SysLog::openConnection | protected | function | Opens a connection to the system logger. |
SysLog::__construct | public | function | Constructs a SysLog object. |
Please login to continue.