src/Listeners/RenderAnsiArtListener.php
public function handle(EventInterface $event, ApplicationInterface $application = null)
    {

        // write the TechDivision ANSI art icon to the console
        $application->log($this->ansiArt);

        // log the debug information, if debug mode is enabled
        if ($this->getConfiguration()->isDebugMode()) {
            // load the application from the DI container
            // log the system's PHP configuration
            $application->log(sprintf('PHP version: %s', phpversion()), LogLevel::DEBUG);
            $application->log(sprintf('App version: %s', $application->getVersion()), LogLevel::DEBUG);
            $application->log('-------------------- Loaded Extensions -----------------------', LogLevel::DEBUG);
            $application->log(implode(', ', $loadedExtensions = get_loaded_extensions()), LogLevel::DEBUG);
            $application->log('--------------------------------------------------------------', LogLevel::DEBUG);

            // write a warning for low performance, if XDebug extension is activated
            if (in_array('xdebug', $loadedExtensions)) {
                $application->log('Low performance exptected, as result of enabled XDebug extension!', LogLevel::WARNING);
            }
        }

        // log a message that import has been started
        $application->log(
            sprintf(
                'Now start import with serial %s [%s => %s]',
                $application->getSerial(),
                $this->getConfiguration()->getEntityTypeCode(),
                $this->getConfiguration()->getOperationName()
            ),
            LogLevel::INFO
        );
    }
public function handle(EventInterface $event, ApplicationInterface $application = null)
    {

        // write the TechDivision ANSI art icon to the console
        $application->log($this->ansiArt);

        // log the debug information, if debug mode is enabled
        if ($this->getConfiguration()->isDebugMode()) {
            // load the application from the DI container
            // log the system's PHP configuration
            $application->log(sprintf('PHP version: %s', phpversion()), LogLevel::DEBUG);
            $application->log(sprintf('App version: %s', $application->getVersion()), LogLevel::DEBUG);
            $application->log('-------------------- Loaded Extensions -----------------------', LogLevel::DEBUG);
            $application->log(implode(', ', $loadedExtensions = get_loaded_extensions()), LogLevel::DEBUG);
            $application->log('--------------------------------------------------------------', LogLevel::DEBUG);

            // write a warning for low performance, if XDebug extension is activated
            if (in_array('xdebug', $loadedExtensions)) {
                $application->log('Low performance exptected, as result of enabled XDebug extension!', LogLevel::WARNING);
            }
        }

        // log a message that import has been started
        $application->log(
            sprintf(
                'Now start import with serial %s [%s => %s]',
                $application->getSerial(),
                $this->getConfiguration()->getEntityTypeCode(),
                $this->getConfiguration()->getOperationName()
            ),
            LogLevel::INFO
        );
    }
Handle the event.

@param \League\Event\EventInterface              $event       The event that triggered the listener
@param \TechDivision\Import\ApplicationInterface $application The application instance

@return void