2017 © Pedro Peláez
 

library monolog-mysql

Laravel 5 MySQL driver for Monolog

image

pedrofornaza/monolog-mysql

Laravel 5 MySQL driver for Monolog

  • Wednesday, March 2, 2016
  • by pedrofornaza
  • Repository
  • 1 Watchers
  • 2 Stars
  • 846 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 20 % Grown

The README.md

Laravel Monolog MySQL Handler.

MySQL driver for Laravel Monolog., (*1)

Installation

To get the lastest version of Theme simply require it in your composer.json file., (*2)

"pedrofornaza/monolog-mysql": "v0.1"

You'll then need to run composer install to download it and have the autoloader updated., (*3)

Open up config/app.php and find the providers key., (*4)

'providers' => array(
    // ...
    Fornaza\Laravel\Provider\MonologMysqlHandlerServiceProvider::class,
);

Publish config using artisan CLI., (*5)

php artisan vendor:publish

Migrate tables., (*6)

php artisan migrate

Usage

Log::getMonolog()->pushHandler(new Fornaza\Monolog\Handler\MysqlHandler());

Or in bootstrap/app.php:, (*7)

$app->configureMonologUsing(function($monolog) use($app) {
    $monolog->pushHandler(new Fornaza\Monolog\Handler\MysqlHandler());
});

Credits

Based on:, (*8)

The Versions

02/03 2016

dev-master

9999999-dev https://github.com/pedrofornaza/monolog-mysql

Laravel 5 MySQL driver for Monolog

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Pedro Fornaza

laravel log monolog mysql laravel5

02/03 2016

v0.1

0.1.0.0 https://github.com/pedrofornaza/monolog-mysql

Laravel 5 MySQL driver for Monolog

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Pedro Fornaza

laravel log monolog mysql laravel5