Hmm something like storing all my logs on an increasingly large string and then print it all once at the end? That might work unless there is an exception. So I guess I could wrap the whole thing in a try / catch / finally a print the single line log that way. Then take that output, put it into another script that formats it? I’ll give it a shot I guess.
Though honestly, if this is the solution, I’ll probably just find another product. Is it unreasonable to want to see my function’s output? Feels like logging is table stakes.