mushketer888 / laravel-dblog
Extending Laravel Logger with Eqloquent Logging in DB
0.5.6
2017-08-08 19:58 UTC
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
Requires (Dev)
- mockery/mockery: dev-master
- phpunit/phpunit: ^6.1
This package is not auto-updated.
Last update: 2025-01-19 05:24:50 UTC
README
This package duplicates Log information to database table. Please report bugs
Install
Via Composer
$ composer require mushketer888/laravel-dblog
Add Service Provider to config/app.php
in providers
section
Mushketer888\LaravelDblog\ServiceProvider::class,
You need to run the migrations for this package.
$ php artisan vendor:publish --provider="Mushketer888\LaravelDblog\ServiceProvider"
$ php artisan migrate
Usage
Use Log Facade like you normally use.
Log::info("DBLog works")