X7ROOT File Manager
Current Path:
/usr/share/doc/cpanel-php84-log/examples
usr
/
share
/
doc
/
cpanel-php84-log
/
examples
/
📁
..
📄
composite.php
(302 B)
📄
console.php
(148 B)
📄
display.php
(270 B)
📄
error_log.php
(168 B)
📄
file.php
(210 B)
📄
firebug.php
(208 B)
📄
mail.php
(220 B)
📄
null.php
(132 B)
📄
observer_mail.php
(672 B)
📄
pear_error_handler.php
(619 B)
📄
php_error_handler.php
(767 B)
📄
sql.php
(214 B)
📄
sqlite.php
(482 B)
📄
syslog.php
(155 B)
📄
win.php
(202 B)
Editing: 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"); }
Upload File
Create Folder