yinx/treelogger

A small command which places a logline in every controller, to start the process of using logs in big projects.
30
Install
composer require yinx/treelogger
Latest Version:v1.3.2
PHP:>=5.4.0
License:MIT
Last Updated:May 30, 2016
Links: GitHub  ·  Packagist
Maintainer: yinx

Treelogger

StyleCI

For laravel 4 switch to the laravel-4 branch.

Installation

Require this package with composer:

composer require yinx/treelogger

Next add the ServiceProvider to the providers array in config/app.php

Yinx\TreeLogger\TreeLoggerServiceProvider::class,

Usage

Adding the log-lines

php artisan controller:logs:add

Append --v to get a verbose output.

Removing the log-lines

php artisan controller:logs:remove

Append --v to get a verbose output.

Credits

Contributors