public function MockLogger::enhanceLogEntry in MongoDB 8.2
Fill in the log_entry function, file, and line.
Parameters
array $entry: An event information to be logger.
array $backtrace: A call stack.
Throws
\ReflectionException
Overrides Logger::enhanceLogEntry
File
- modules/
mongodb_watchdog/ tests/ src/ Unit/ MockLogger.php, line 31
Class
- MockLogger
- Class MockLogger provides a Logger implementation usable in unit tests.
Namespace
Drupal\Tests\mongodb_watchdog\UnitCode
public function enhanceLogEntry(array &$entry, array $backtrace) : void {
parent::enhanceLogEntry($entry, $backtrace);
}