mushketer888 / laravel-dblog by mushketer888

Extending Laravel Logger with Eqloquent Logging in DB
31
2
2
Package Data
Maintainer Username: mushketer888
Maintainer Contact: mushketer888@gmail.com (Ilja Lebedevs)
Package Create Date: 2017-08-05
Package Last Update: 2017-08-09
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-26 03:03:22
Package Statistics
Total Downloads: 31
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

laravel-dblog

Latest Stable Version Total Downloads License Latest Unstable Version

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")