/** * Set the event dispatcher instance. * * @param \Illuminate\Contracts\Events\Dispatcher $dispatcher * @return void * @static */ public static function setEventDispatcher($dispatcher) { //Method inherited from \Illuminate\Log\Writer \App\Support\Log\Writer::setEventDispatcher($dispatcher); }
/** * Configure the Monolog handlers for the application. * * @param \Illuminate\Contracts\Foundation\Application $app * @param \Illuminate\Log\Writer $log * @return void */ protected function configureDailyHandler(Application $app, Writer $log) { $log->useDailyFiles(storage_path('/logs/laravel.log'), config('app.log_max_files', 5), config('app.log_level', 'debug')); }