PHP code example of tredmann / monolog-pdo-sqlite
1. Go to this page and download the library: Download tredmann/monolog-pdo-sqlite 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/ */
tredmann / monolog-pdo-sqlite example snippets
$handler = new SQLiteHandler(filePath: __DIR__.'/test.sqlite');
$handler->up();
$log = new Logger(name: 'test');
$log->pushHandler($handler);