Sindbad~EG File Manager

Current Path : /proc/2470164/root/usr/share/doc/cpanel-php83-log/examples/
Upload File :
Current File : //proc/2470164/root/usr/share/doc/cpanel-php83-log/examples/sql.php

<?php

require_once 'Log.php';

$conf = ['dsn' => 'pgsql://jon@localhost+unix/logs'];
$logger = Log::singleton('sql', 'log_table', 'ident', $conf);
for ($i = 0; $i < 10; $i++) {
    $logger->log("Log entry $i");
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists