Jackalope\Transport\Logging\LoggerChain::addLogger PHP Method

addLogger() public method

Adds a logger in the chain.
public addLogger ( Jackalope\Transport\Logging\LoggerInterface $logger ) : void
$logger Jackalope\Transport\Logging\LoggerInterface
return void
    public function addLogger(LoggerInterface $logger)
    {
        $this->loggers[] = $logger;
    }