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/win.php |
<?php require_once 'Log.php'; $conf = array('title' => 'Sample Log Output'); $logger = &Log::singleton('win', 'LogWindow', 'ident', $conf); for ($i = 0; $i < 10; $i++) { $logger->log("Log entry $i"); }