lemontech/lemonlog-client

该包的最新版本(v0.1)没有可用的许可证信息。

柠檬日志客户端

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

This package is not auto-updated.

Last update: 2024-09-29 05:42:02 UTC


README

安装

composer require lemonlog

使用

<?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');