2017 © Pedro Peláez
 

library dblog

:description

image

abhishekkrhaith11/dblog

:description

  • Saturday, June 30, 2018
  • by abhishekKrHaith11
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

dblog

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This package will help to keep log in database with type for Laravel applications., (*2)

Installation

Via Composer, (*3)

``` bash $ composer require abhishekkrhaith11/dblog, (*4)


## Usage After installation you need to add the following line to config/app.php -

'providers' => [ /* * Package Service Providers... */ Abhishekkrhaith11\Dblog\DblogServiceProvider::class, ], (*5)


If you want to use alias add the following -

'aliases' => [ /* * Package Facades... */ 'Dblog' => Abhishekkrhaith11\Dblog\Facades\Dblog::class, ], (*6)


After setup you need migrate the database using ``` bash $ php artisan migrate

You can change the database table name before migration. For that you have to publish configs. use -, (*7)

``` bash $ php artisan vendor:publish --provider=Abhishekkrhaith11\Dblog\DblogServiceProvider, (*8)


## Documentation Available log methods -

Dblog::emergency(string $msg); Dblog::alert(string $msg); Dblog::critical(string $msg); Dblog::error(string $msg); Dblog::warning(string $msg); Dblog::notice(string $msg); Dblog::info(string $msg); Dblog::debug(string $msg);, (*9)


To retrive logs use -

Dblog::logs(string $type); ``` This will return a array of all logs found in log table. Each log will contain log type, message and log time., (*10)

Support

If you found any issues you can report in github issues., (*11)

License

MIT. Please see the license file for more information., (*12)

The Versions

30/06 2018

dev-analysis-z4V7Ek

dev-analysis-z4V7Ek https://github.com/abhishekkrhaith11/dblog

:description

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel dblog