@enso-ui/logs
v5.2.5
Published
System log listing and detail pages for Enso UI
Downloads
1,545
Readme
Logs
Description
Logs bundles the Enso UI pages used to list backend log files and inspect one log in detail.
Installation
Install the package:
yarn add @enso-ui/logsThe package is usually consumed from the full enso-ui workspace inside an Enso application.
Features
- registers the
/system/logsindex and detail routes - ships a table-based listing page for available logs
- ships a detail page for browsing one selected log file
- highlights Laravel log content without loading Highlight.js
- keeps the frontend shell aligned with the backend log endpoints and permissions
Usage
import systemRoutes from '@enso-ui/logs/src/bulma/routes/system.js';
import LogsIndex from '@enso-ui/logs/src/bulma/pages/logs/Index.vue';
import LogShow from '@enso-ui/logs/src/bulma/pages/logs/Show.vue';API
Page modules
Common imports:
@enso-ui/logs/src/bulma/pages/logs/Index.vue@enso-ui/logs/src/bulma/pages/logs/Show.vue@enso-ui/logs/src/bulma/routes/system/logs.js
The package is page-oriented. The routed pages are the practical public surface.
Routes
/system/logs
system.logs.indexsystem.logs.show
Companion Backend Package
Depends On
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!
