/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Database/Log
NameSizeModeActions
LoggedQuery.php39640644editdlrm
LoggingStatement.php47160644editdlrm
QueryLogger.php17310644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Database/Log/QueryLogger.php (1731B)
_defaultConfig['scopes'] = ['queriesLog']; $this->_defaultConfig['connection'] = ''; parent::__construct($config); } /** * @inheritDoc */ public function log($level, $message, array $context = []) { $context['scope'] = $this->scopes() ?: ['queriesLog']; $context['connection'] = $this->getConfig('connection'); if ($context['query'] instanceof LoggedQuery) { $context = $context['query']->getContext() + $context; $message = 'connection={connection} duration={took} rows={numRows} ' . $message; } Log::write('debug', $message, $context); } }