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