PHP code example of arquivei / log-adapter
1. Go to this page and download the library: Download arquivei/log-adapter 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/ */
arquivei / log-adapter example snippets
php
$logger = new LogAdapter();
$logger->setTraceId('88d98bf175fe832b70149a9637fcbb3f');
$logger->info('Logging', [
'user' => 123
]);