class UnknownMethodAlgorithmLogger {

    public static void probeAssertionForMethodAlgorithm(final Assertion assertion, final String typeOfAssertion) {
        String prefixAssertion = typeOfAssertion + Assertion.DEFAULT_ELEMENT_LOCAL_NAME;
        if (assertion != null) {
            Signature signature = assertion.getSignature();
            if (signature != null) {
                logMethodAlgorithm(Role.IDP, signature, prefixAssertion);
            }
        }
    }

}