/usr/share/doc/cpanel-php83-log/examples
<?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.');
.
Edit
..
Edit
composite.php
Edit
console.php
Edit
display.php
Edit
error_log.php
Edit
file.php
Edit
firebug.php
Edit
mail.php
Edit
null.php
Edit
observer_mail.php
Edit
pear_error_handler.php
Edit
php_error_handler.php
Edit
sql.php
Edit
sqlite.php
Edit
syslog.php
Edit
win.php
Edit