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: composite.php
<?php require_once 'Log.php'; $console = Log::singleton('console', '', 'TEST'); $file = Log::singleton('file', 'out.log', 'TEST'); $composite = Log::singleton('composite'); $composite->addChild($console); $composite->addChild($file); $composite->log('This event will be logged to both handlers.');
Upload File
Create Folder