/** * Returns the instance of the class. * * @return ezcLog */ public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new self(); ezcBaseInit::fetchConfig('ezcInitLog', self::$instance); } return self::$instance; }