PATH:
usr
/
share
/
doc
/
cpanel-php81-log-1.13.3
/
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.');
[-] syslog.php
[edit]
[+]
..
[-] composite.php
[edit]
[-] win.php
[edit]
[-] pear_error_handler.php
[edit]
[-] observer_mail.php
[edit]
[-] console.php
[edit]
[-] null.php
[edit]
[-] firebug.php
[edit]
[-] file.php
[edit]
[-] error_log.php
[edit]
[-] display.php
[edit]
[-] php_error_handler.php
[edit]
[-] sqlite.php
[edit]
[-] sql.php
[edit]
[-] mail.php
[edit]