Logs events in the watchdog database table.
Hierarchy
- class \Drupal\dblog\Logger\DbLog implements LoggerInterface uses DependencySerializationTrait, RfcLoggerTrait
File
- core/modules/dblog/src/Logger/DbLog.php, line 17
Namespace
Drupal\dblog\Logger
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DbLog::$connection | protected | property | The database connection object. |
DbLog::$parser | protected | property | The message's placeholders parser. |
DbLog::DEDICATED_DBLOG_CONNECTION_TARGET | constant | The dedicated database connection target to use for log entries. | |
DbLog::log | public | function | Logs with an arbitrary level. Overrides RfcLoggerTrait::log |
DbLog::__construct | public | function | Constructs a DbLog object. |
DependencySerializationTrait::$_serviceIds | protected | property | An array of service IDs keyed by property name used for serialization. |
DependencySerializationTrait::__sleep | public | function | |
DependencySerializationTrait::__wakeup | public | function | |
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 |
Please login to continue.