You are here

public function HtmlMailSystem::getLogger in HTML Mail 8.3

Same name and namespace in other branches
  1. 8 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 157

Class

HtmlMailSystem
Modify the Drupal mail system to use HTML Mail when sending emails.

Namespace

Drupal\htmlmail\Plugin\Mail

Code

public function getLogger() {
  return $this->logger
    ->get('htmlmail');
}