Automatically opening/collapsing log groups?

Sorry if this is mistagged and should be “Feature” instead, but I could not find anything for this so far.

I would like to be able to get my log output such that when running a given log group, I can see the open logs then, and have the log group closed when I no longer need it. I haven’t found anything on the “Managing Log Output” that would let me do this

It seems the ^^^ +++ feature is the exact opposite of what I would like, so perhaps it is a matter of parsing a new token to allow for this. I would not mind just being given a ^^^ --- to collapse the previous open group on success.