Displaying a log per line for a multiline text
say I have a multi-line text "a\nb\nc"; when I log it, eg with the "debug" method, I get only one log;

this is the expected behaviour but then the lines excluding the first are displayed too on the left in the output :

    1234 [1] [DEBUG] Test - a
    b
    c
    1235 [1] [DEBUG] Test - ...

A simple workaround is to generate one log per line to obtain :

    1234 [1] [DEBUG] Test - a
    1235 [1] [DEBUG] Test - b
    1236 [1] [DEBUG] Test - c
    1237 [1] [DEBUG] Test - ...

_


**Is there any way of having this kind of handling automatically or should I write a simple wrapper to manage this setting ?**

_

Thanks in advance.
Displaying a log per line for a multiline text
===

say I have a multi-line text "a\nb\nc"; when I log it, eg with the "debug" method, I get only one log;

this is the expected behaviour but then the lines excluding the first are displayed too on the left in the output :

    1234 [1] [DEBUG] Test - a
    b
    c
    1235 [1] [DEBUG] Test - ...

A simple workaround is to generate one log per line to obtain :

    1234 [1] [DEBUG] Test - a
    1235 [1] [DEBUG] Test - b
    1236 [1] [DEBUG] Test - c
    1237 [1] [DEBUG] Test - ...

_


**Is there any way of having this kind of handling automatically or should I write a simple wrapper to manage this setting ?**

_

Thanks in advance.