mentatxx/jslog-php

Error logger for PHP

0.1.0 2014-12-06 20:28 UTC

This package is not auto-updated.

Last update: 2024-04-22 23:24:07 UTC


README

Error logger for PHP

Logs all PHP errors, events and messages to the cloud so you can easily handle and proceed them.

Installation

Using Composer

composer require mentatxx/jslog-php

Register at jslog.me, get an API key.

Add logging support to scripts

require_once __DIR__.'/vendor/autoload.php';

use JsLog\Logger;

$jslog = new Logger(array('key' => "<MY-API-KEY>"));
$jslog->log('My test message');