Support the ongoing development of Laravel.io →
posted 10 years ago
Packages
Last updated 2 years ago.
0

Hi I'm getting the same error on a helper class in our app. The Log:info works in controllers but not on the helper class, if just tells me the "Class 'Helpers\Log' not found". Assume I need to extend/inject a base class or something so it can access the log object but no info as to how anywhere.

Any pointers anyone?

thanks

Last updated 2 years ago.
0

Maybe...

\Log::info("This is my message");
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mroth2014 mroth2014 Joined 24 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.