MIF_E31222691/app/providers/LogServiceProvider.php

33 lines
640 B
PHP

<?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()
{
//
}
}