Logs
Description
Logs provides Enso endpoints for browsing, downloading, showing, and deleting application log files.
The package exposes a compact log-management API over the application's log storage and is meant to back the corresponding Enso administration screen.
It is an operational helper package, not a general-purpose logging driver.
Installation
Install the package:
composer require laravel-enso/logs
Run the package migrations:
php artisan migrate
Features
- Log index endpoint.
- Single-log show and download endpoints.
- Log deletion endpoint.
- Simple operational surface under the system namespace.
Usage
The package mounts its routes under system.logs.*.
API
HTTP routes
GET api/system/logsDELETE api/system/logs/{log}GET api/system/logs/{log}/downloadGET api/system/logs/{log}
Depends On
Required Enso packages:
Companion frontend package:
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!