I need to be able to, on the fly, swap talking out from Serial to Serial1 and back. Its basically a bool that is set that says to use either standard or Serial1 for the outgoing data. But the problem is.. Serial.print() & Serial.println() have these variable input parameters. How does one write this kind of thing? Besides just writing every possible case out.
Are the variables you are trying to print of a consistent type? If they were of the same type, you could have a function that accepts an array of values.
Are you always going to print the same number of variables?
If you're going to printing an unknown number of variables of different types, maybe you could have a function that accepts an array of pointers to each of those variables. Then, you could iterate over each one, printing the variables out one by one.
What if you had another function that assembles your message, then returns it to your dataOut function, which takes only one parameter (the message in the form of a string)? This seems like the simplest way to me.