summaryrefslogtreecommitdiff
path: root/src/include/iofactory.h
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 19:28:50 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 19:28:50 +0200
commit3ea7edf8c9bf7583c426178d4aaff4fb5b736bd2 (patch)
treeae78ebf9e9d1f70da8a6fdad1504063644ee8f1e /src/include/iofactory.h
parent1a7c572099edf744d6bb67318cff215de3fcd897 (diff)
use some enum classes
move ParseResult to recursivedescent.h
Diffstat (limited to 'src/include/iofactory.h')
-rw-r--r--src/include/iofactory.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/iofactory.h b/src/include/iofactory.h
index 52e911b..24dfe9f 100644
--- a/src/include/iofactory.h
+++ b/src/include/iofactory.h
@@ -40,19 +40,19 @@ namespace Binc {
#define bincDebug std::cerr
// #define bincDebug if (false) std::cout
#else
-#define bincError \
- IOFactory::getLogger().setOutputLevel(IODevice::ErrorLevel); \
+#define bincError \
+ IOFactory::getLogger().setOutputLevel(IODevice::LogLevel::ErrorLevel); \
IOFactory::getLogger()
-#define bincWarning \
- IOFactory::getLogger().setOutputLevel(IODevice::WarningLevel); \
+#define bincWarning \
+ IOFactory::getLogger().setOutputLevel(IODevice::LogLevel::WarningLevel); \
IOFactory::getLogger()
-#define bincDebug \
- IOFactory::getLogger().setOutputLevel(IODevice::DebugLevel); \
+#define bincDebug \
+ IOFactory::getLogger().setOutputLevel(IODevice::LogLevel::DebugLevel); \
IOFactory::getLogger()
#endif
-#define bincLog \
- IOFactory::getLogger().setOutputLevel(IODevice::InfoLevel); \
+#define bincLog \
+ IOFactory::getLogger().setOutputLevel(IODevice::LogLevel::InfoLevel); \
IOFactory::getLogger()
#endif