Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.27 KB

Readme.md

File metadata and controls

51 lines (37 loc) · 1.27 KB

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 [email protected]