protected function tap($name, Logger $logger)
    {
        foreach ($this->configurationFor($name)['tap'] ?? [] as $tap) {
            [$class, $arguments] = $this->parseTap($tap);

            $this->app->make($class)->__invoke($logger, ...explode(',', $arguments));
        }

        return $logger;
    }
protected function tap($name, Logger $logger)
    {
        foreach ($this->configurationFor($name)['tap'] ?? [] as $tap) {
            [$class, $arguments] = $this->parseTap($tap);

            $this->app->make($class)->__invoke($logger, ...explode(',', $arguments));
        }

        return $logger;
    }
protected function tap ( $ name , Logger $ logger ) { foreach ( $ this -> configurationFor ( $ name ) [ 'tap' ] ?? [ ] as $ tap ) { [ $ class , $ arguments ] = $ this -> parseTap ( $ tap ) ; $ this -> app -> make ( $ class ) -> __invoke ( $ logger , ... explode ( ',' , $ arguments ) ) ; } return $ logger ; }
Apply the configured taps for the logger.

@param  string  $name
@param  \Illuminate\Log\Logger  $logger
@return \Illuminate\Log\Logger
Apply the configured taps for the logger .