gabrielapg/laravel-custom-log is a Laravel package for custom file log in your laravel application.
It currently has 0 GitHub stars and 12 downloads on Packagist.
Install it with composer require gabrielapg/laravel-custom-log.
Discover more Laravel packages by gabrielapg
or browse all Laravel packages to compare alternatives.
Last updated
composer require "gabrielapg/laravel-custom-log @dev"
use CustomWriteLogs;
$this->writeLog('customLog', 'description: Description your log');
First param define name file log and secound param define description log. Level default INFO
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Log\CustomWriteLogs;
class ExampleController extends Controller
{
use CustomWriteLogs;
/**
* Index
*
*/
public function index()
{
$this->writeLog('customLog', 'description: Description your log');
}
}