yinx / treelogger
A small command which places a logline in every controller, to start the process of using logs in big projects.
v1.3.2
2016-05-30 15:59 UTC
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-11-12 04:26:58 UTC
README
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
- Thanks to Evert Arnould (Contact@evertarnould.be)