protected function WebformScheduledEmailManager::getLogger in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_scheduled_email/src/WebformScheduledEmailManager.php \Drupal\webform_scheduled_email\WebformScheduledEmailManager::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
- modules/
webform_scheduled_email/ src/ WebformScheduledEmailManager.php, line 802
Class
- WebformScheduledEmailManager
- Defines the webform scheduled email manager.
Namespace
Drupal\webform_scheduled_emailCode
protected function getLogger($channel = 'webform') {
return $this->loggerFactory
->get($channel);
}