For the most part I've come to terms with workbench/packages - one thing I can't seem to figure out is how to get logging to work - as in Log::info("This is my message");
I end up with: Class 'Vendor\Name\Log' not found.
Can this be done? What am I missing?
Also, are there some good docs/tutorials on the workbench and creating packages ?
Thanks
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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community