/** * create an instance of a logger. * The default logger is the SCA_Logger, unless the php.ini contains a sca.logger entry * in which case this logger instantiated. * * @return object Instance of the selected logger */ public static function create() { self::$logger = self::_loggingmode(); include_once self::$logger; self::$thelogger = self::_linkLog(self::_findclassname(self::$logger)); return self::$thelogger; }