diff --git a/src/message.h b/src/message.h index ea134969c8184d2b16e49a07747602947f82b150..9dccc6a6438538ea38c9c298f90a64e65514a25b 100644 --- a/src/message.h +++ b/src/message.h @@ -8,10 +8,10 @@ #define COL_WIDTH 20 #define R_ALIGN std::setw(COL_WIDTH) << std::right -#define COUT_INFO(inp) std::cout << std::flush << std::fixed << std::setprecision(12) << "INFO: " << inp << std::flush +#define COUT_INFO(inp) std::cout << std::flush << std::fixed << std::setprecision(12) << "INFO: " << inp << std::endl << std::flush #ifdef L4N_DEBUG -#define COUT_DEBUG(inp) assert(std::cerr << std::flush << std::fixed << std::setprecision(12) << "DEBUG: " << inp << std::flush) +#define COUT_DEBUG(inp) assert(std::cerr << std::flush << std::fixed << std::setprecision(12) << "DEBUG: " << inp << std::endl << std::flush) #define WRITE_TO_OFS_DEBUG(ofs, msg) { if(ofs && ofs->is_open())\ *ofs << std::fixed << std::setprecision(12) << "DEBUG: " << msg;\