• Sanitizes a URL by replacing the username and password with asterisks.

    Parameters

    • value: string

      The URL to sanitize.

    • Optionallogger: ILoggerLike

      An optional logger to use for logging warnings.

    Returns string

    The sanitized URL.