PHP code example of yomafleet / event-logger
1. Go to this page and download the library: Download yomafleet/event-logger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yomafleet / event-logger example snippets
namespace App;
use Yomafleet\EventLogger\EventLoggerFacade as EventLogger;
class Example
{
public function example()
{
//...
//...
//...
EventLogger::log(
'info',
'example',
$data
);
}
}