Path : /proc/2/root/proc/2/task/2/cwd/usr/share/doc/cpanel-php81-log-1.13.3/examples/ |
Current File : //proc/2/root/proc/2/task/2/cwd/usr/share/doc/cpanel-php81-log-1.13.3/examples/error_log.php |
<?php require_once 'Log.php'; $logger = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'ident'); for ($i = 0; $i < 10; $i++) { $logger->log("Log entry $i"); }