You are here

public function Logger::setName in Monolog 7

Same name and namespace in other branches
  1. 6 src/Drupal/Monolog/Logger.php \Drupal\Monolog\Logger::setName()

Sets the channel name.

Parameters

string $name: The logging channel.

File

src/Drupal/Monolog/Logger.php, line 27

Class

Logger
Logger class for the Drupal Monolog module.

Namespace

Drupal\Monolog

Code

public function setName($name) {
  $this->name = $name;
}