You are here

public static function HTMLMailMime::getLogger in HTML Mail 8

Same name and namespace in other branches
  1. 8.3 src/Utility/HtmlMailMime.php \Drupal\htmlmail\Utility\HtmlMailMime::getLogger()

Retrieves the logger for mime.

Return value

\Drupal\Core\Logger\LoggerChannelInterface The logger interface.

File

src/Utility/HTMLMailMime.php, line 142
Provides the MailMIME class for creating MIME-formatted email messages.

Class

HTMLMailMime
Class HTMLMailMime.

Namespace

Drupal\htmlmail\Utility

Code

public static function getLogger() {
  return self::$logger
    ->get('htmlmail_mime');
}