LiveDashboardLogger (live_dashboard_logger v0.0.1)
View SourceLogs Page for Live Dashboard
Add LiveDashboardLogger to Phoenix Live Dashboard
To add LiveDashboardLogger to Phoenix Live Dashboard, simply include it in the additional_pages
list of live_dashboard
route macro.
Example
live_dashboard "/dashboard",
metrics: LoggertestWeb.Telemetry,
additional_pages: [
# Add this line
live_logs: LiveDashboardLogger
]
Then the "Live Logs" menu item should appear in your dashboard.
Summary
Functions
Callback implementation for Phoenix.LiveDashboard.PageBuilder.handle_event/3
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.handle_info/2
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.menu_link/2
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.mount/3
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.render/1
.
Functions
Callback implementation for Phoenix.LiveDashboard.PageBuilder.handle_event/3
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.handle_info/2
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.mount/3
.
Callback implementation for Phoenix.LiveDashboard.PageBuilder.render/1
.