function 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\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.