Skip to content
Acorn
v4.0.3

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') }}

Contributors

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

Digging Deeper