aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/output
diff options
context:
space:
mode:
authorCharlie Blake2018-01-10 18:16:34 +0000
committerGitHub2018-01-10 18:16:34 +0000
commit2a62143fb9edb929f410b1b9b3aed16a16ceba39 (patch)
treed5d7839783cebb097af9f071751d693f47e3af6d /src/main/input-output/output
parentMerge pull request #28 from thecharlesblake/all-canonical-games (diff)
parentAdd asserts to program and fix bugs they raise (diff)
downloadmetasol-2a62143fb9edb929f410b1b9b3aed16a16ceba39.tar.gz
metasol-2a62143fb9edb929f410b1b9b3aed16a16ceba39.zip

Merge pull request #29 from thecharlesblake/refactor-improve-debug

Refactor improve debug

Diffstat (limited to 'src/main/input-output/output')
-rw-r--r--src/main/input-output/output/log_helper.h4
1 files changed, 2 insertions, 2 deletions
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