boost::log::auto_newline_manip
// In header: <boost/log/utility/manipulators/auto_newline.hpp> struct auto_newline_manip { };
Stream manipulator for inserting a newline character, unless the last character inserted into the stream is already a newline.