If you use the Log facade, you have to import it at the top. But, there are global helper functions because of this.
Instead of doing Log::info()
, you can simply do info()
now and not have to import anything at the top.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community