static ServiceNaming shorten(int targetLength) {
        return LengthBasedServiceNaming.of(targetLength);
    }
Returns the {@link ServiceNaming} that returns the shortened service name from the full name of an RPC
stub class or the innermost class from the given service. It follows Logback's abbreviation algorithm.
Please note that the rightmost segment in a service name is never abbreviated. For instance,
{@code com.foo.bar.HelloService} is able to be shorten to {@code c.f.b.HelloService}.

@see <a href="http://logback.qos.ch/manual/layouts.html">Logback's abbreviation algorithm</a>
core/src/main/java/com/linecorp/armeria/server/ServiceNaming.java