for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LaravelZero\Framework\Commands\Component\Illuminate\Log;
use LaravelZero\Framework\Commands\Component\Installer as BaseInstaller;
use LaravelZero\Framework\Contracts\Commands\Component\Installer as InstallerContract;
/**
* This is the Laravel Zero Framework illuminate/database install class.
*
* @author Nuno Maduro <[email protected]>
*/
class Installer extends BaseInstaller implements InstallerContract
{
* {@inheritdoc}
protected $name = 'install:log';
protected $description = 'Installs illuminate/log';
public function getComponentName(): string
return 'log';
}
public function install(): bool
$this->require('illuminate/log "5.5.*"');
$this->info('Usage:');
$this->comment(
'
use Illuminate\Support\Facades\Log;
Log::emergency($message);
Log::alert($message);
Log::critical($message);
Log::error($message);
Log::warning($message);
Log::notice($message);
Log::info($message);
Log::debug($message);
);
return true;