Logging
We recommend referencing the Laravel docs on Logging
The location of your application logs depends on your directory structure.
For zero-config setups, logs live at [wp-content]/cache/acorn/logs/
.
For traditional setups, logs live at storage/logs/
.
Basic PHP logging example
use Illuminate\Support\Facades\Log;
Log::debug('π Howdy');
Basic Blade logging example
{{ logger('π Howdy') }}
Last updated
Support Roots
Help us continue to build and maintain our open source projects. Weβre a small team of independent developers and every little bit helps.
Sponsor Roots on GitHub