log_msg to contain logger_name + astyle

This commit is contained in:
gabime
2014-05-09 18:00:10 +03:00
parent d2178160b0
commit f9f59a545c
7 changed files with 19 additions and 19 deletions

View File

@@ -12,8 +12,8 @@ public:
explicit file_flush_helper(const std::size_t flush_every):
_flush_every(flush_every),
_flush_countdown(flush_every) {};
void write(const std::string& msg, std::ofstream& ofs)
void write(const std::string& msg, std::ofstream& ofs)
{
ofs.write(msg.data(), msg.size());
if(--_flush_countdown == 0)