yomafleet/event-logger

Log in YF's preference format

v1.1.5 2024-01-16 04:29 UTC

README

Event logging with yomafleet's prefer format. Use monolog package underlying.

Installtion

composer require yomafleet/event-logger

Parameters

Usage

<?php

namespace App;

use Yomafleet\EventLogger\EventLoggerFacade as EventLogger;

class Example
{
    public function example()
    {
        //...
        //...
        //...
        EventLogger::log(
            'info',
            'example',
            $data
        );
    }
}