DbLog::log

public DbLog::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/dblog/src/Logger/DbLog.php, line 56 Class DbLog Logs events in the watchdog database table. Namespace Drupal\dblog\Logger Code public function log($level, $message, array $context = array()) { // Remove any backtraces since they may contain an unserializable variable.

DbLog::DEDICATED_DBLOG_CONNECTION_TARGET

The dedicated database connection target to use for log entries. File core/modules/dblog/src/Logger/DbLog.php, line 24 Class DbLog Logs events in the watchdog database table. Namespace Drupal\dblog\Logger Code const DEDICATED_DBLOG_CONNECTION_TARGET = 'dedicated_dblog';

DbLog::$parser

The message's placeholders parser. Type: \Drupal\Core\Logger\LogMessageParserInterface File core/modules/dblog/src/Logger/DbLog.php, line 38 Class DbLog Logs events in the watchdog database table. Namespace Drupal\dblog\Logger Code protected $parser;

DbLog::$connection

The database connection object. Type: \Drupal\Core\Database\Connection File core/modules/dblog/src/Logger/DbLog.php, line 31 Class DbLog Logs events in the watchdog database table. Namespace Drupal\dblog\Logger Code protected $connection;

dblog.views.inc

Provide views data for dblog.module. File core/modules/dblog/dblog.views.inc Functions Name Description dblog_views_data Implements hook_views_data().

dblog.module

System monitoring and logging for administrators. The Database Logging module monitors your site and keeps a list of recorded events containing usage and performance data, errors, warnings, and similar operational information. File core/modules/dblog/dblog.module Functions Name Description dblog_cron Implements hook_cron(). dblog_form_system_logging_settings_alter Implements hook_form_FORM_ID_alter() for system_logging_settings(). dblog_help Implements hook_help(). dblog_log

dblog.install

Install, update and uninstall functions for the dblog module. File core/modules/dblog/dblog.install Functions Name Description dblog_schema Implements hook_schema().

dblog.admin.inc

Administrative page callbacks for the Database Logging module. File core/modules/dblog/dblog.admin.inc Functions Name Description dblog_filters Creates a list of database log administration filters that can be applied.

DbLog

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_TARG

DbImportCommand::runScript

protected DbImportCommand::runScript(Connection $connection, $script) Run the database script. Parameters \Drupal\Core\Database\Connection $connection: Connection used by the script when included. string $script: Path to dump script. File core/lib/Drupal/Core/Command/DbImportCommand.php, line 55 Class DbImportCommand Provides a command to import the current database from a script. Namespace Drupal\Core\Command Code protected function runScript(Connection $connection, $script) { $old