Working on app structure.

This commit is contained in:
Taylor Otwell
2014-08-13 09:44:20 -05:00
parent 262dec16f8
commit ee6f47dc47
19 changed files with 8 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
<?php namespace 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()
{
//
}
}