Subject: | The new %m{indent} tries to be too smart and can't be used with %m{chomp} |
I was delighted to see %m{indent} added, but then disappointed to see that it can only be used as an alternative to %m{chomp} (%m{chomp} is very useful, as discussed in https://rt.cpan.org/Ticket/Display.html?id=45559 )
There also doesn't seem to be any description of what it actually does. The entire documentation is "Log message, indented if mult-line" (including typo).
What I was hoping for was a simple fixed indent, like 2 spaces or one tab. It actually seems to do something that's more complicated, less useful, much more expensive to process, and almost impossible to fully remove accurately in post-processing.
Also, as implemented, the final newline gets the indentation appended which is less than useful.
I'm willing to work on a pull request if we can agree on the desired behaviour.