PHP code example of tfc / tfclog

1. Go to this page and download the library: Download tfc/tfclog 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/ */

    

tfc / tfclog example snippets

 php
$logger = new tfc\tfclog\PDOLogger();
echo $logger->logSuccess('Success logged!', 'user');

$logger = new tfc\tfclog\DynamoLogger();
echo $logger->logSuccess('Success logged!', 'user');