Download the PHP package devoralive/log-viewer-bundle without Composer
On this page you can find all versions of the php package devoralive/log-viewer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devoralive/log-viewer-bundle
More information about devoralive/log-viewer-bundle
Files in devoralive/log-viewer-bundle
Package log-viewer-bundle
Short Description Display symfony logs in JSON and in defined route
License MIT
Homepage https://github.com/romeritoCL/LogViewerBundle
Informations about the package log-viewer-bundle
LogViewerBundle
The Logger viewer bundle is a simple way to display the logs of your Symfony application. It will read the logs from the monolog bundle route and display them in Json format in the browser.
This way you can fetch them or analyze your application. Be aware that you should not use this in production without adding a security layer to the route you define.
All the code is tested and inspected by external services.
How to use
Install the library with composer:
Enable the bundle in AppKernel.php
Add this in config/routing.yml
Once configuration is done, you should be able to visualize your app logs.
To display dev.log
go to project.localhost/_logs/_dev
To display prod.log
go to project.localhost/_logs/_prod
Help us to improve
We are happy to accept suggestions or pull requests. If you are willing to help us develop better software please create a pull request here following the PSR-2 code style and we will use reviewable to check the code and if al test pass and no issues are detected by SensioLab Insights you could will be ready to merge.