Fixed eol write in pattern_formatter_impl

This commit is contained in:
gabime
2018-04-09 14:14:52 +03:00
parent b416685d6f
commit cfb450c059
2 changed files with 11 additions and 1 deletions

View File

@@ -704,5 +704,5 @@ inline void spdlog::pattern_formatter::format(details::log_msg &msg)
f->format(msg, tm_time);
}
// write eol
msg.formatted.write(_eol.data(), _eol.size());
msg.formatted << _eol;
}