metalcoder/logsifier is a Laravel package for package to manage application logs.
It currently has 0 GitHub stars and 29 downloads on Packagist.
Install it with composer require metalcoder/logsifier.
Discover more Laravel packages by metalcoder
or browse all Laravel packages to compare alternatives.
Last updated
Package to manage application logs.
Just use the Facade Logsifier to call any method.
Logsifier::store('192.168.1.1','users','1','New user created','Users module')
Don't forget this line at the begining of your file:
use Metalcoder/Logsifier/Logsifier;
I've been involved in several projects where is required to have some sort of log manipulation. I decided to create my own package first of all to introduce myself in package development and also to use it on my future projects.
Install via composer:
The package exposes 4 methods (at the time) to help with the log of relevant events in any laravel application.
/* Method to store a log entry in the database
$object : Name of the database table the event is using
$object_id : id of the element the event is using
$description : Short descripcion of the event.
$source : Name of the application module that triggered the event
$urgent : If entry is marked as urgent an email will be sent to the recipients listed in config/logsifier.php
*/ Logsifier::store($ip,$object,$object_id,$description,$source,$urgent)
/* Method to show all the log entries * */ Logsifier::index()
/* Method to export to a CSV file all the log entries * */ Logsifier::exportCSV()
/* Method to export all entries to a CSV file and empty the log table. * */ Logsifier::rotate()
GNU GENERAL PUBLIC LICENSE