/** * Creates a new Log object with a given level and exception. * @param integer $level the log level wich indicated the severity. * @param \Exception $exception the exception we want to use for the log entry. * @return \CoreXEngine\Util\Logger\SimpleLog */ public function __construct($level, \Exception $exception) { parent::__construct($level, null, $exception); }