VS Code extension that watches your Laravel log file and notifies you when it changes.
Perfect for debugging without constantly reopening the log file.
- ✅ Real-time monitoring of Laravel log file changes
- 🔔 Toast notifications with customizable message
- 🔧 Configurable log file path (supports relative and absolute paths)
- 🎚️ Toggle watcher on/off anytime via command
- 🔒 Lightweight, zero-permission log checking
Go to your VS Code Settings
(Ctrl + ,
) → Search for Laravel Log Watcher
Or add/edit directly in settings.json
:
{
"laravelLogWatcher.logFilePath": "storage/logs/laravel.log",
"laravelLogWatcher.notificationMessage": "Laravel log updated!",
"laravelLogWatcher.enabled": true
}
Setting | Description | Default |
---|---|---|
logFilePath |
Path to your Laravel log file (relative or absolute) | storage/logs/laravel.log |
notificationMessage |
Custom notification text | Laravel log updated! |
enabled |
Enable or disable the watcher globally | true |
Use the Command Palette (
Ctrl + Shift + P
orCmd + Shift + P
on Mac)
Command | Description |
---|---|
Toggle Laravel Log Watcher |
Enable/disable the log watcher |
Search for Laravel Log Watcher in the VS Code Extensions Marketplace or install directly by running:
code --install-extension azmolla.laravel-log-watcher
Imagine you're developing and want to see if an exception was logged without opening laravel.log
.
This extension will notify you instantly when that happens. Debug smarter ⚡
- Laravel project with log file writing enabled (default is
storage/logs/laravel.log
) - VS Code 1.85.0+
- Only monitors a single file at a time
- Does not yet tail or parse log entries (coming soon?)
- Status bar toggle
done
- Real-time log viewer
- Severity-based log parsing
done
- Workspace-level enable/disable
Md Abiruzzaman Molla 🔗 audiobookbangla.com 📦 Packagist: azmolla 💻 GitHub: @abiruzzamanmolla