ARCANEDEV / LogViewer

:page_with_curl: Provides a log viewer for Laravel

Repository from Github https://github.comARCANEDEV/LogViewerRepository from Github https://github.comARCANEDEV/LogViewer

JSON Support

armageddan opened this issue · comments

Since there is no usage documentation yet, is there support for JSON API Endpoint? So we can get a response of JSON and maybe create a custom view within an SPA

You need to create a custom Controller/routes for your JSON API.

The LogViewer's entities (like LogEntry, LogEntryCollection ...) are JSON friendly because they're implementing the Illuminate\Contracts\Support\Jsonable Contract.