| date_modified | 2026-03-22 12:00 | |
|---|---|---|
| date_published | 2021-10-21 13:21 | |
| description | Acorn provides Laravel's logging services for WordPress. Configure multiple channels and send logs to files, syslog, Slack, and custom handlers. | |
| title | Laravel Logging in WordPress | |
| authors |
|
::: tip 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/.
use Illuminate\Support\Facades\Log;
Log::debug('👋 Howdy');{{ logger('👋 Howdy') }}