public function TestLogger::get in Search API Saved Searches 8
Retrieves the registered logger for the requested channel.
Return value
\Drupal\Core\Logger\LoggerChannelInterface The registered logger for this channel.
Overrides LoggerChannelFactoryInterface::get
File
- tests/
src/ Kernel/ TestLogger.php, line 31
Class
- TestLogger
- Provides a logger that throws exceptions when logging errors.
Namespace
Drupal\Tests\search_api_saved_searches\KernelCode
public function get($channel) {
return $this;
}