private function log($line, $log_level) 
	{
		// Write all events less than log verbosity
		if ($log_level <= $this->log_verbosity) {
			$line = $this->prepend($log_level) . $line . "\n";
			$this->writeLine($line);
		}
	}