public static void logUnexpectedToken(
            Token.Type found, 
            String tokensClass,
            Position position) {
        
        logger.log(
            java.util.logging.Level.WARNING, 
            "Token mismatch at {0}: found {1}, required {2}", 
            new Object[] { position, found, tokensClass }
        );
    }