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.

(Sorry we didn’t get back to you sooner!)

I think --- should be able to do what you want already: if all groups are collapsed when you open the log output, the currently-being-written one will automatically be shown as open until a new group is started.

(And then you could use ^^^ +++ to keep it open, if it finishes in a less-happy state.)

That said, I do think it would be useful to support ^^^ --- too: we discussed it a little while ago, but I don’t believe it got implemented at the time. I’ll see about changing that. :blush: