public function Logger::setName in Monolog 6
Same name and namespace in other branches
- 7 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\MonologCode
public function setName($name) {
$this->name = $name;
}