Files
spa-api/app/providers/LogServiceProvider.php

33 lines
640 B
PHP
Raw Normal View History

2014-08-11 10:13:20 -05:00
<?php namespace Providers;
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
*/
public function boot()
{
2014-08-11 10:13:20 -05:00
// 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'
);
2014-07-31 15:13:50 -05:00
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
//
}
}