Ensures an origin stays within reasonable display size.

  • Parameters

    • origin: string

      The original log origin.

    Returns string

    A shortened origin for display.