Opened 7 years ago

Closed 7 years ago

#12020 closed Bugs (wontfix)

debug_output_backend doesn't add newline

Reported by: Michael Marcin <mike.marcin@…> Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

At least on VS2015 the debug_output_backend doesn't append a newline to the end of the log statement.

This by itself wouldn't be a problem but the other backends such as text_ostream_backend do append a newline.

This makes the log output practically unreadable.

Change History (1)

comment:1 by Andrey Semashev, 7 years ago

Resolution: wontfix
Status: newclosed

The current behavior is because different Visual Studios have different behavior - some do append a newline by themselves, some don't. There's no way the library can know this. This is why the choice is put into the user's hands - if you want a newline, you can add it in the formatter.

Note: See TracTickets for help on using tickets.