Laravel 5 log not found

I am elbows deep in Laravel 5, and this proves that he is quite a seeker with no startup. I am facing the strangest errors. I can not register anything on my local host. If this is a PHP error, it works fine, but if I try to log it, it will throw an error. This is Windows, so there are no errors in the file resolution. Here is the error I get:

[2015-02-11 20:09:40] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'App\Http\Controllers\Log' not found' in C:\xampp\htdocs\bg_checks\laravel\app\Http\Controllers\BgInfoController.php:44
Stack trace:
#0 C:\xampp\htdocs\bg_checks\laravel\storage\framework\compiled.php(1721): Illuminate\Foundation\Bootstrap\HandleExceptions->fatalExceptionFromError(Array)
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()

Laravel 5 is still fairly new, so there is not much information on it. I tried to find something and can find a forum on the Laracast forum and did not offer anything.

Help!

+4
source share
1 answer

, Log App\Http\Controllers.

use Log;

Laravel

use Path\To\Your\Log;

.

+12

All Articles