You are here

protected static function ProcessedText::logger in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/filter/src/Element/ProcessedText.php \Drupal\filter\Element\ProcessedText::logger()

Wraps a logger channel.

Parameters

string $channel: The name of the channel.

Return value

\Psr\Log\LoggerInterface The logger for this channel.

File

core/modules/filter/src/Element/ProcessedText.php, line 148

Class

ProcessedText
Provides a processed text render element.

Namespace

Drupal\filter\Element

Code

protected static function logger($channel) {
  return \Drupal::logger($channel);
}