private static void logError(StringBuilder errorMessageReceiver, String format, Object... args) {
        if (LOG.isErrorEnabled()) {
            final String message = determineLogMessage(format, args);
            LOG.error(message);
            if (errorMessageReceiver != null) {
                errorMessageReceiver.append(message).append('\n');
            }
        }
    }
This is used to configure the provided Kryo instance if Kryo serialization is desired.
The expected type here is Object because otherwise the Kryo library becomes
a mandatory dependency on any project that uses Yauaa.
@param kryoInstance The instance of com.esotericsoftware.kryo.Kryo that needs to be configured.
analyzer/src/main/java/nl/basjes/parse/useragent/debug/UserAgentStringMatchMakerTester.java