eduardoarandah/backpacklogviewer

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

1.0.8 2020-03-04 21:58 UTC

This package is auto-updated.

Last update: 2024-04-05 07:28:19 UTC


README

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

log-viewer

Requirements

Laravel Backpack

Installation

Make sure you have set your logs to "daily" in your .env file

LOG_CHANNEL=daily

Run this commands:

composer require eduardoarandah/backpacklogviewer

php artisan vendor:publish --provider="EduardoArandaH\BackpackLogViewer\BackpackLogViewerServiceProvider"

php artisan backpack:add-sidebar-content "<li class='nav-item'><a class='nav-link' href='{{route(\"log-viewer::logs.list\")}}'><i class='nav-icon fa fa-history'></i> {{ trans('Logs') }}</a></li>"

More options

More options available in /config/log-viewer.php

Documentation:

https://github.com/ARCANEDEV/LogViewer