Skip to content

[feature] Multi line output and multi log lines #1372

@ddofborg

Description

@ddofborg

When dealing with multi line output, like with log.info("This is\nsecond line and\nthird line and\nfouth line") it would be great if the output in the logs would be split for better readability. In this case the 'connected' lines are prefixed by a +---+ to see they are all one message.

Code:

log.info("test")
log.info("This is\nsecond line and\nthird line and\nfouth line")
log.info("test")

Output:

2025-08-09 07:53:37 [INFO    ] test [suffix]
2025-08-09 07:53:37 [INFO    ] + This is [suffix]
2025-08-09 07:53:37 [INFO    ] | second line and [suffix]
2025-08-09 07:53:37 [INFO    ] | third line and [suffix]
2025-08-09 07:53:37 [INFO    ] + fouth line [suffix]
2025-08-09 07:53:37 [INFO    ] test [suffix]

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureRequest for adding a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions