123456789101112131415161718192021222324252627282930313233 |
- <?php namespace App\Providers;
- use Illuminate\Support\ServiceProvider;
- class LogServiceProvider extends ServiceProvider {
- /**
- * Configure the application's logging facilities.
- *
- * @return void
- */
- public function boot()
- {
- // Here we will configure the error logger setup for the application which
- // is built on top of the wonderful Monolog library. By default we will
- // build a basic log file setup which creates a single file for logs.
- $this->app['log']->useFiles(
- storage_path().'/logs/laravel.log'
- );
- }
- /**
- * Register the service provider.
- *
- * @return void
- */
- public function register()
- {
- //
- }
- }
|