File manager - Edit - /usr/share/doc/cpanel-php81-log-1.13.3/examples/composite.php
Back
<?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.');
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Generation time: 0 |
proxy
|
phpinfo
|
Settings