API Reference ServerLogger v#0.3.0

Copy Markdown View Source

Modules

Context module for server log persistence and querying. Provides functions for inserting, listing, counting, pruning logs, and managing monthly partitions.

GenServer that batches log events from ETS and bulk-inserts them into the configured Repo.

Validates and retrieves ServerLogger configuration values.

LiveComponent for the Server Logger Viewer. Provides filtering, sorting, search, pagination, inline row expansion, auto-refresh, and metrics display.

Phoenix LiveDashboard custom page for viewing server logs.

Erlang :logger handler that captures log events and writes them to the ETS buffer for later flushing to the database.

Provides migration functions for setting up the ServerLogger database tables.

GenServer that periodically

Top-level supervisor for ServerLogger.

Mix Tasks

Generates a migration file that creates the server_logs partitioned table.