private static String determineLogMessage(String format, Object... args){
        if (args == null || args.length == 0) {
            return format;
        }
        return MESSAGE_FACTORY.newMessage(format, args).getFormattedMessage();
    }
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