PHP code example of logdo / logdo-php
1. Go to this page and download the library: Download logdo/logdo-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
logdo / logdo-php example snippets
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();
bash
composer