Current Path : /opt/cpanel/ea-php54/root/usr/share/doc/pear/Log/examples/ |
Current File : //opt/cpanel/ea-php54/root/usr/share/doc/pear/Log/examples/syslog.php |
<?php require_once 'Log.php'; $logger = &Log::singleton('syslog', LOG_LOCAL0, 'ident'); for ($i = 0; $i < 10; $i++) { $logger->log("Log entry $i"); }