public function HTMLMailSystem::getLogger in HTML Mail 8
Same name and namespace in other branches
- 8.3 src/Plugin/Mail/HtmlMailSystem.php \Drupal\htmlmail\Plugin\Mail\HtmlMailSystem::getLogger()
Retrieves the logger.
Return value
\Drupal\Core\Logger\LoggerChannelInterface The htmlmail logger.
File
- src/Plugin/ Mail/ HTMLMailSystem.php, line 113 
Class
- HTMLMailSystem
- Modify the Drupal mail system to use HTMLMail when sending emails.
Namespace
Drupal\htmlmail\Plugin\MailCode
public function getLogger() {
  return $this->logger
    ->get('htmlmail');
}