2014-08-20 00:10:30 -05:00
|
|
|
<?php namespace App\Providers;
|
2014-07-31 15:13:50 -05:00
|
|
|
|
2014-09-18 19:35:08 -05:00
|
|
|
use Illuminate\Contracts\Logging\Log;
|
2014-07-31 15:13:50 -05:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class LogServiceProvider extends ServiceProvider {
|
|
|
|
|
|
|
|
|
|
/**
|
2014-08-12 11:58:09 -05:00
|
|
|
* Configure the application's logging facilities.
|
2014-07-31 15:13:50 -05:00
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2014-09-18 19:35:08 -05:00
|
|
|
public function boot(Log $log)
|
2014-07-31 15:13:50 -05:00
|
|
|
{
|
2014-10-02 19:36:03 -05:00
|
|
|
$log->useFiles(storage_path().'/laravel.log');
|
2014-07-31 15:13:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register the service provider.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function register()
|
|
|
|
|
{
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 20:31:42 +01:00
|
|
|
}
|