lemontech/lemonlog-client

There is no license information available for the latest version (v0.1) of this package.

Lemonlog client

v0.1 2018-06-22 14:48 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:12:23 UTC


README

Install

composer require lemonlog

Use

<?php
require 'vendor/autoload.php';

use Lemontech\Lemonlog\Client\Client;

$account = __DIR__.'/account.json';

$client = new Client([
    'application' => 'My Application',
    'tenant' => 'International Business inc.',
    'account' => $account
]);

$client->setError('warning', "Este es un warning");
$client->setWarning('test', 'Este warning si que es real');
$client->setInfo('invoice_module', 'Se ha creado una factura');