ezelink/ezelog

Loggin platform for laravel 5.2 applications
44
Install
composer require ezelink/ezelog
Latest Version:v1.0.0
PHP:>=5.4
Last Updated:Aug 20, 2019
Links: GitHub  ·  Packagist
Maintainer: imuneer

EZELog

Logger for Laravel (Support eloquent and mongodb)

This logger modules being created for recoding the Audit logs.

Installation

Install the package using composer

composer require ezelink/ezelog

or add the following line to the composer.json under the require section and update composer

"ezelink/ezelog": "@dev"
composer update

Configurations

  1. Open the file add config/app.php
  2. Add the following line under providers
EZELog\EZELogServiceProvider::class,

Examples

EZELog\Facades\AuditLog::log('user login failed');

OR

EZELog\Facades\AuditLog::log('user login failed', $username);