logdo/logdo-php

A php sdk for logdo. A php and laravel logging app

2.0.0 2023-01-31 10:49 UTC

This package is auto-updated.

Last update: 2024-04-29 04:59:33 UTC


README

Logdo

Logdo, PHP SDK | Tests

LogDo: You production logs, exactly like you are used to them on your local 🥳

  • Simple interface for viewing logs
  • App based logging setup
  • Members can join teams and have access to teams' apps logs.
  • Clean APIs and SDKs...

... and many more ....

require_once __DIR__ . '/../vendor/autoload.php';
use LogdoPhp\Logdo;
$logdo = Logdo::instance()
    ->logger()
    ->for(app_id: "app_id")
    ->log(log: "hello world")
    ->at(incident_datetime: "2023-01-31 12:07:56")
    ->as(environment: "local")
    ->with(stack_trace: "stack trace")
    ->level(log_level: "info")
    ->go();

Tests

To run tests in this sdk, run

composer run tests

Help and docs

We use GitHub issues only to discuss bugs and new features. You can also RTFML here | documentation.

Installing Logdo php SDK

The recommended way to install the SDK through Composer.

composer require logdo/logdo-php

Contributing

Contributions are welcome in any form.

Bug and Security Report

Report and bugs and security issue to theguys@theoneapp.rocks