You are here

public function LoggerChannel::__construct in Service Container 7.2

Same name and namespace in other branches
  1. 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\Logger

Code

public function __construct($channel) {
  $this->channel = $channel;
}