public function LoggerChannel::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 src/Logger/LoggerChannel.php \Drupal\service_container\Logger\LoggerChannel::__construct()
Constructs a LoggerChannel object
Parameters
string $channel: The channel name for this instance.
File
- src/
Logger/ LoggerChannel.php, line 66 - Contains \Drupal\service_container\Logger\LoggerChannel.
Class
- LoggerChannel
- Defines a logger channel that most implementations will use.
Namespace
Drupal\service_container\LoggerCode
public function __construct($channel) {
$this->channel = $channel;
}