protected function printImportLog()
    {
        if (count($this->importLog) > 0) {
            $this->info('Import log');
            $this->info('---------------------------------------------------------------------------------------');
            foreach ($this->importLog as $il) {
                $this->info('Import File: ' . $il['file']);
                foreach ($il['log'] as $level => $logs) {
                    $this->info(strtoupper($level));
                    foreach ($logs as $log) {
                        $this->info('   -> ' . $log);
                    }
                }
                $this->info('---------------------------------------------------------------------------------------');
            }
        }
    }
protected function printImportLog()
    {
        if (count($this->importLog) > 0) {
            $this->info('Import log');
            $this->info('---------------------------------------------------------------------------------------');
            foreach ($this->importLog as $il) {
                $this->info('Import File: ' . $il['file']);
                foreach ($il['log'] as $level => $logs) {
                    $this->info(strtoupper($level));
                    foreach ($logs as $log) {
                        $this->info('   -> ' . $log);
                    }
                }
                $this->info('---------------------------------------------------------------------------------------');
            }
        }
    }
protected function printImportLog ( ) { if ( count ( $ this -> importLog ) > 0 ) { $ this -> info ( 'Import log' ) ; $ this -> info ( '---------------------------------------------------------------------------------------' ) ; foreach ( $ this -> importLog as $ il ) { $ this -> info ( 'Import File: ' . $ il [ 'file' ] ) ; foreach ( $ il [ 'log' ] as $ level => $ logs ) { $ this -> info ( strtoupper ( $ level ) ) ; foreach ( $ logs as $ log ) { $ this -> info ( '   -> ' . $ log ) ; } } $ this -> info ( '---------------------------------------------------------------------------------------' ) ; } } }
Prints import log.
Prints import log .