PHP code example of jeremyharris / psr3-papertrail
1. Go to this page and download the library: Download jeremyharris/psr3-papertrail 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/ */
jeremyharris / psr3-papertrail example snippets
define('PAPERTRAIL_HOST', 'example.papertrailapp.com');
define('PAPERTRAIL_PORT', 1234);
$logger = new \JeremyHarris\Papertrail\Logger;
$logger->log('error', 'An error occured');