public function load(Action $action)
    {
        if ($action instanceof LoggerAwareInterface) {
            $action->setLogger(
                $this->getServiceLocator()->get(LoggerService::SERVICE_ID)
                    ->addLogger(
                        $this->hideColors
                            ? new VerboseLogger($this->getMinimumLogLevel())
                            : new ColoredVerboseLogger($this->getMinimumLogLevel())
                    )
            );
        }
    }
public function load(Action $action)
    {
        if ($action instanceof LoggerAwareInterface) {
            $action->setLogger(
                $this->getServiceLocator()->get(LoggerService::SERVICE_ID)
                    ->addLogger(
                        $this->hideColors
                            ? new VerboseLogger($this->getMinimumLogLevel())
                            : new ColoredVerboseLogger($this->getMinimumLogLevel())
                    )
            );
        }
    }
public function load ( Action $ action ) { if ( $ action instanceof LoggerAwareInterface ) { $ action -> setLogger ( $ this -> getServiceLocator ( ) -> get ( LoggerService :: SERVICE_ID ) -> addLogger ( $ this -> hideColors ? new VerboseLogger ( $ this -> getMinimumLogLevel ( ) ) : new ColoredVerboseLogger ( $ this -> getMinimumLogLevel ( ) ) ) ) ; } }
Propagate the argument process to Action
To load a verbose logger, a check is done Action interfaces to find LoggerInterface
The verbose logger is loaded with the minimum level requires

@param Action $action
Propagate the argument process to Action To load a verbose logger a check is done Action interfaces to find LoggerInterface The verbose logger is loaded with the minimum level requires