mushketer888 / laravel-dblog by mushketer888

Extending Laravel Logger with Eqloquent Logging in DB
32
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-11-22 15:05:29
Package Statistics
Total Downloads: 32
Monthly Downloads: 1
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")