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/logs
The 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
- 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!