REBELinBLUE\Deployer\Bootstrap\ConfigureLogging::configureDailyHandler PHP Method

configureDailyHandler() protected method

Configure the Monolog handlers for the application.
protected configureDailyHandler ( Illuminate\Contracts\Foundation\Application $app, Illuminate\Log\Writer $log )
$app Illuminate\Contracts\Foundation\Application
$log Illuminate\Log\Writer
    protected function configureDailyHandler(Application $app, Writer $log)
    {
        $fileName = php_sapi_name();
        $log->useDailyFiles($app->storagePath() . '/logs/' . $fileName . '.log', $app->make('config')->get('app.log_max_files', 5));
    }