unloq/loglet

There is no license information available for the latest version (dev-master) of this package.

loglet.io - Encrypted Log Management System

dev-master 2017-08-22 10:30 UTC

This package is not auto-updated.

Last update: 2025-05-17 18:48:32 UTC


README

Simple library to connect to Loglet.io API and save encrypted logs.

Instalation

$ composer require unloq/loglet

Basic usage

<?php

use Unloq\Loglet;

$logger = new Loglet( 'App-Name', 'bearer-key-generated-inside-loglet-account-for-each-app');

$data = [
    'firstKey' => 'firstValue',
    'secondKey' => 'secondValue'
];

$logger->log('Application started', 'WARN', $data);

Requirements

  • PHP >= 5.6
  • GuzzleHttp

Author

Florin Popescu - florin@ltsdevelopment.com - http://www.ltsdevelopment.com

License

MIT license. Please see LICENSE for more