From 3ce4c07a3d78082590629d36d4039d68f0a84663 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 10 Jan 2018 18:15:14 +0000 Subject: Add asserts to program and fix bugs they raise --- src/main/input-output/output/log_helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/input-output/output') diff --git a/src/main/input-output/output/log_helper.h b/src/main/input-output/output/log_helper.h index 71cc5f4..7762250 100644 --- a/src/main/input-output/output/log_helper.h +++ b/src/main/input-output/output/log_helper.h @@ -13,7 +13,7 @@ #define LOG_DEBUG(msg) clog << "[debug]\n" << msg << "\n" #endif #define LOG_INFO(msg) clog << "[info] " << msg << "\n" -#define LOG_WARNING clog(msg) << "[warning] " << msg << "\n" -#define LOG_ERROR(msg) cerr << "[ERROR] " << msg << "\n" +#define LOG_WARNING(msg) clog << "[warning] " << msg << "\n" +#define LOG_ERROR(msg) cerr << "[error] " << msg << "\n" #endif //SOLVITAIRE_LOG_HELPER_H -- cgit v1.2.1