protected function WebformHandlerBase::getLogger in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::getLogger()
Get webform or webform_submission logger.
Parameters
string $channel: The logger channel. Defaults to 'webform'.
Return value
\Drupal\Core\Logger\LoggerChannelInterface Webform logger
File
- src/
Plugin/ WebformHandlerBase.php, line 853
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
protected function getLogger($channel = 'webform') {
return $this->loggerFactory
->get($channel);
}