Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.27 kb
<?
function logf($line)
{
assert(defined('LOG_FILE'));
logf_ex(LOG_FILE, $line);
}
function logf_ex($file, $line)
{
$f = fopen($file, 'a');
if (! $f)
return;
$line = strftime("%F %T") . ' ' . $line . "\n";
fwrite($f, $line);
fclose($f);
}
?>
Jump to Line
Something went wrong with that request. Please try again.