public function Logger::addLogger in Monolog 2.x
Same name and namespace in other branches
- 8 src/Logger/Logger.php \Drupal\monolog\Logger\Logger::addLogger()
Adds a logger.
Parameters
\Psr\Log\LoggerInterface $logger: The PSR-3 logger to add.
int $priority: The priority of the logger being added.
Overrides LoggerChannelInterface::addLogger
File
- src/
Logger/ Logger.php, line 73
Class
- Logger
- Logger class for the Drupal Monolog module.
Namespace
Drupal\monolog\LoggerCode
public function addLogger(LoggerInterface $logger, $priority = 0) {
// Do nothing.
}