Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.1 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.1 KB

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