LoggerChannel::__construct

public LoggerChannel::__construct($channel)

Constructs a LoggerChannel object

Parameters

string $channel: The channel name for this instance.

File

core/lib/Drupal/Core/Logger/LoggerChannel.php, line 87

Class

LoggerChannel
Defines a logger channel that most implementations will use.

Namespace

Drupal\Core\Logger

Code

public function __construct($channel) {
  $this->channel = $channel;
}
doc_Drupal
2016-10-29 09:25:00
Comments
Leave a Comment

Please login to continue.