Dashboard
DashboardErrorLog
Recent application error log viewer for the admin dashboard.
DashboardErrorLog
Renders a paginated table of recent application errors with timestamps, error messages, severity levels, and stack trace previews.
Components
<XAdminDashboardErrorLog />
Displays a scrollable list of recent errors fetched from the errors API, with severity filtering and expandable stack traces.
<XAdminDashboardErrorLog />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | string | '/api/admin/dashboard/errors' | API endpoint for error log data |
loading | boolean | false | Show loading skeleton |
limit | number | 10 | Number of errors to display |
refreshInterval | number | 60000 | Polling interval in milliseconds |
showStackTrace | boolean | true | Allow expanding stack traces inline |
Types
interface ErrorLogEntry {
id: string
message: string
severity: 'error' | 'warning' | 'critical'
timestamp: string | Date
stack?: string
context?: Record<string, unknown>
}
AI Context
component: XAdminDashboardErrorLog
package: "@xenterprises/nuxt-x-app-admin"
category: Dashboard
use-when: Surfacing recent application errors and warnings in an admin dashboard panel
