Path : /proc/2/task/2/cwd/usr/share/doc/cpanel-php81-log-1.13.3/examples/ |
Current File : //proc/2/task/2/cwd/usr/share/doc/cpanel-php81-log-1.13.3/examples/mail.php |
<?php require_once 'Log.php'; $conf = array('subject' => 'Important Log Events'); $logger = &Log::singleton('mail', 'webmaster@example.com', 'ident', $conf); for ($i = 0; $i < 10; $i++) { $logger->log("Log entry $i"); }