protected function log($message)
{
$now = date($this->config['dateFormat'], $_SERVER['REQUEST_TIME']);
if ($logfile = $this->getLogfile()) {
file_put_contents($logfile, "[{$now}] {$message}\n", FILE_APPEND);
}
}