function ProcessedText::logger
Same name in other branches
- 9 core/modules/filter/src/Element/ProcessedText.php \Drupal\filter\Element\ProcessedText::logger()
- 8.9.x core/modules/filter/src/Element/ProcessedText.php \Drupal\filter\Element\ProcessedText::logger()
- 10 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 153
Class
- ProcessedText
- Provides a processed text render element.
Namespace
Drupal\filter\ElementCode
protected static function logger($channel) {
return \Drupal::logger($channel);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.