public static function setLogging($errorLogFp) { // Enables the logging of error messages into the file located at the specified path. assert('is_cstring($errorLogFp)', vs(isset($this), get_defined_vars())); self::$ms_logging = true; self::$ms_errorLogFp = $errorLogFp; self::registerHandlers(); }