Open rusmux opened 2 months ago
The opt()
was meant to only adjust one logged message, using it as a context manager would go against this design choice.
I'm not convinced of the usefulness of such feature with the given example here. It's better not to let depth
being set implicitly like that by the parent in my opinion.
Would be nice to be able to use
opt
method as a context manager like this: