daravel_log_viewer 1.26.0
daravel_log_viewer: ^1.26.0 copied to clipboard
A log viewer page for Daravel. Reads log files from their end in constant memory, filters and follows them live, masks secrets. Daravel and Laravel log formats.
Changelog #
1.15.0 #
- First release:
withLogViewer(path:, middleware:)serves a log viewer page and its JSON API (files, entries, a server-sent-events tail, download, opt-in delete).ReverseLogReaderreads Daravel's JSON logs and Laravel's Monolog files from their end in constant memory (pages with a byte cursor, a scan limit, a polling tail that survives rotation);PathGuardopens only.logfiles of the folder;Maskerhides secret values in context and text; a nonce-based Content-Security-Policy, no external assets, and 403 outside local without middleware. TheLOG_VIEWER_*settings.